Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 374.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1138, allocations: 53.31 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.206/0.3198, allocations: 5.461 MB / 433.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.3234, allocations: 2.154 MB / 435.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.3241, allocations: 36.34 kB / 435.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.3245, allocations: 210.6 kB / 435.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.325, allocations: 175.4 kB / 436.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.3259, allocations: 401 kB / 436.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.3267, allocations: 1.006 MB / 437.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005653/0.3273, allocations: 423.2 kB / 437.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.3277, allocations: 354.7 kB / 438.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.3281, allocations: 365.3 kB / 438.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.3282, allocations: 95.89 kB / 438.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.3285, allocations: 155.4 kB / 438.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3287, allocations: 201.1 kB / 439 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.329, allocations: 437.8 kB / 439.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3303, allocations: 1.196 MB / 440.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3303, allocations: 1.438 kB / 440.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3303, allocations: 4 kB / 440.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3303, allocations: 1.312 kB / 440.7 MB, free: 5.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001379/0.3317, allocations: 1.05 MB / 441.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3318, allocations: 9.906 kB / 441.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.332, allocations: 100.2 kB / 441.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.3327, allocations: 0.523 MB / 442.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.3328, allocations: 68.31 kB / 442.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3329, allocations: 92.64 kB / 442.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3342, allocations: 0.8024 MB / 443.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.3343, allocations: 7.953 kB / 443.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.3343, allocations: 36.28 kB / 443.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3343, allocations: 20.91 kB / 443.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.3353, allocations: 0.4917 MB / 443.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.3382, allocations: 2.87 MB / 446.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.3387, allocations: 209.8 kB / 446.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3389, allocations: 98.11 kB / 447 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.3391, allocations: 248.7 kB / 447.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3391, allocations: 45.17 kB / 447.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.3391, allocations: 0 / 447.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002115/0.3412, allocations: 1.261 MB / 448.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.3412, allocations: 55.5 kB / 448.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3415, allocations: 319.4 kB / 448.9 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3415, allocations: 33.14 kB / 449 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3417, allocations: 416.1 kB / 449.4 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3418, allocations: 137.5 kB / 449.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3419, allocations: 86.06 kB / 449.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3421, allocations: 350.7 kB / 449.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3423, allocations: 111 kB / 450 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.3426, allocations: 249.2 kB / 450.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.3432, allocations: 393.6 kB / 450.7 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3432, allocations: 1 kB / 450.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007376/0.3439, allocations: 462.8 kB / 451.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.344, allocations: 7.219 kB / 451.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.344, allocations: 4.156 kB / 451.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.3441, allocations: 39.11 kB / 451.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3445, allocations: 111.6 kB / 451.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.3449, allocations: 0.5621 MB / 451.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3451, allocations: 15.91 kB / 451.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.3452, allocations: 23.27 kB / 451.9 MB, free: 14.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.3455, allocations: 216.8 kB / 452.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.3455, allocations: 41.67 kB / 452.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.3462, allocations: 318.4 kB / 452.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3462, allocations: 4.047 kB / 452.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3462, allocations: 0 / 452.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3462, allocations: 3.078 kB / 452.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3477, allocations: 1.023 MB / 453.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3477, allocations: 1.375 kB / 453.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.3481, allocations: 81.11 kB / 453.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.3482, allocations: 30.59 kB / 453.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.3482, allocations: 9.906 kB / 453.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003849/0.3486, allocations: 0.5529 MB / 454.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3486, allocations: 1.969 kB / 454.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.3495, allocations: 0.5495 MB / 454.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.3496, allocations: 107.9 kB / 454.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.3496, allocations: 12.95 kB / 454.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3498, allocations: 9.281 kB / 454.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.3498, allocations: 28 kB / 454.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.3499, allocations: 15.06 kB / 454.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.3501, allocations: 217.2 kB / 455.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3501, allocations: 0 / 455.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.3507, allocations: 118 kB / 455.2 MB, free: 12.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.3509, allocations: 122.9 kB / 455.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.3516, allocations: 304.7 kB / 455.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3516, allocations: 0 / 455.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.3519, allocations: 132.9 kB / 455.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.3524, allocations: 67.83 kB / 455.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3552, allocations: 1.653 MB / 457.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3558, allocations: 0.9202 MB / 458.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.3559, allocations: 35.77 kB / 458.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3559, allocations: 0 / 458.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.01383/0.3697, allocations: 9.904 MB / 468.3 MB, free: 5.254 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.739117863820866]