Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9888/0.9888, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.322e-05, allocations: 2.312 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002402/0.002416, allocations: 2.364 MB / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.003195, allocations: 0.5726 MB / 271.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.003319, allocations: 4 kB / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.003491, allocations: 39.59 kB / 271.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.003658, allocations: 91.2 kB / 271.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.003854, allocations: 51.91 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.004067, allocations: 278.6 kB / 271.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.004204, allocations: 80.06 kB / 271.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.004377, allocations: 159.6 kB / 272 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.004484, allocations: 83.72 kB / 272.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.004514, allocations: 24 kB / 272.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.004538, allocations: 20 kB / 272.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.004573, allocations: 47.81 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.004634, allocations: 91.77 kB / 272.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.004818, allocations: 179.3 kB / 272.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00482, allocations: 4 kB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004821, allocations: 0 / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004825, allocations: 0 / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004911/0.005316, allocations: 0.5467 MB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.005351, allocations: 8.031 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.0054, allocations: 40.8 kB / 273.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.005563, allocations: 188.9 kB / 273.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005577, allocations: 20.81 kB / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.005606, allocations: 28.31 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.005808, allocations: 145.4 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.005819, allocations: 4.188 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005832, allocations: 4.375 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005839, allocations: 7.938 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.005915, allocations: 71.42 kB / 273.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.006423, allocations: 0.5137 MB / 274 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.006557, allocations: 130.9 kB / 274.2 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.006612, allocations: 59.58 kB / 274.2 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006628, allocations: 4 kB / 274.2 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.049e-05/0.006709, allocations: 37.39 kB / 274.3 MB, free: 212 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.00671, allocations: 0 / 274.3 MB, free: 212 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008585/0.007568, allocations: 0.7226 MB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.007594, allocations: 55.41 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.00769, allocations: 222.7 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.007704, allocations: 29.7 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.007774, allocations: 187.5 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.00783, allocations: 122.9 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.007887, allocations: 59.33 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.008135, allocations: 0.5039 MB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.00817, allocations: 27.92 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.008231, allocations: 83.02 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.008356, allocations: 116.7 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008358, allocations: 4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002091/0.008567, allocations: 218.1 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.008578, allocations: 8 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008584, allocations: 7.922 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.008685, allocations: 31.67 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.008813, allocations: 63.97 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008942/0.009707, allocations: 2.079 MB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.009764, allocations: 8.188 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.009774, allocations: 7.938 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.009866, allocations: 176.5 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.009897, allocations: 31.91 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.009922, allocations: 34.58 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009924, allocations: 4 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.009928, allocations: 0 / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009931, allocations: 4 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.0107, allocations: 0.6283 MB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.0107, allocations: 96 / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01083, allocations: 59.91 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.127e-05/0.0109, allocations: 39.64 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01091, allocations: 8 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006643/0.01157, allocations: 1.78 MB / 281.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01157, allocations: 7.969 kB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.01186, allocations: 422.3 kB / 282 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01187, allocations: 19.86 kB / 282 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01189, allocations: 7.984 kB / 282 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.01195, allocations: 8 kB / 282 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.01199, allocations: 23.95 kB / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.012, allocations: 12 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.01205, allocations: 151.1 kB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.01205, allocations: 0 / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.01227, allocations: 68 kB / 282.2 MB, free: 7.715 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.41e-05/0.01235, allocations: 114.1 kB / 282.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.01263, allocations: 329.8 kB / 282.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01263, allocations: 3.938 kB / 282.7 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.01279, allocations: 277.6 kB / 283 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01304, allocations: 67.48 kB / 283 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.01384, allocations: 0.6188 MB / 283.6 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01389, allocations: 88.69 kB / 283.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.01394, allocations: 22.3 kB / 283.7 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.01403, allocations: 114.2 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01403, allocations: 0 / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of Templates: time 0.004675/0.01871, allocations: 2.914 MB / 286.8 MB, free: 3.117 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.644573265686631]