Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 165.9 kB / 25.61 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9086/0.9086, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.859e-05, allocations: 5.266 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002483/0.002502, allocations: 2.38 MB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.003419, allocations: 0.6372 MB / 277.2 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.003555, allocations: 7.938 kB / 277.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.003707, allocations: 31.66 kB / 277.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.00386, allocations: 87.2 kB / 277.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.004075, allocations: 67.84 kB / 277.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004303, allocations: 282.5 kB / 277.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.004448, allocations: 67.3 kB / 277.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.004674, allocations: 179.5 kB / 277.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.004786, allocations: 83.72 kB / 278 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.004814, allocations: 20 kB / 278 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.004867, allocations: 24 kB / 278 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.004898, allocations: 47.81 kB / 278.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.004961, allocations: 91.77 kB / 278.2 MB, free: 444 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.005166, allocations: 179.3 kB / 278.3 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005167, allocations: 3.938 kB / 278.3 MB, free: 260 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005168, allocations: 0 / 278.3 MB, free: 260 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005172, allocations: 0 / 278.3 MB, free: 260 kB / 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.0005033/0.005675, allocations: 0.5546 MB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.005706, allocations: 12.02 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.005832, allocations: 48.8 kB / 279 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.006019, allocations: 192.8 kB / 279.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.006037, allocations: 16.88 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.006071, allocations: 28.36 kB / 279.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.006241, allocations: 149.4 kB / 279.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.006253, allocations: 4.141 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006268, allocations: 12.38 kB / 279.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.006274, allocations: 7.938 kB / 279.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.995e-05/0.006354, allocations: 63.42 kB / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.006896, allocations: 0.5137 MB / 279.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.007046, allocations: 126.9 kB / 280.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.007098, allocations: 51.66 kB / 280.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.007112, allocations: 8 kB / 280.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.007135, allocations: 41.39 kB / 280.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.007136, allocations: 0 / 280.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009654/0.008102, allocations: 0.7129 MB / 280.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.008126, allocations: 55.41 kB / 280.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.008289, allocations: 222.5 kB / 281.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008303, allocations: 33.7 kB / 281.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.00837, allocations: 191.5 kB / 281.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.008423, allocations: 118.9 kB / 281.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.008477, allocations: 59.34 kB / 281.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.008584, allocations: 0.5078 MB / 282 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.008621, allocations: 27.97 kB / 282.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.008688, allocations: 79.64 kB / 282.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.008798, allocations: 116.7 kB / 282.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008799, allocations: 0 / 282.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002177/0.009017, allocations: 219.5 kB / 282.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.009029, allocations: 9.812 kB / 282.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.009037, allocations: 7.938 kB / 282.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.009146, allocations: 43.64 kB / 282.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.009275, allocations: 59.91 kB / 282.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.0103, allocations: 2.079 MB / 284.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.01036, allocations: 11.98 kB / 284.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.01038, allocations: 19.86 kB / 284.7 MB, free: 9.496 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 8.041e-05/0.01046, allocations: 164.6 kB / 284.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01049, allocations: 31.86 kB / 284.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.01052, allocations: 26.66 kB / 284.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01052, allocations: 4 kB / 284.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01053, allocations: 4.031 kB / 284.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01053, allocations: 7.922 kB / 284.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.01105, allocations: 0.6282 MB / 285.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01105, allocations: 0 / 285.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.01119, allocations: 60.16 kB / 285.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.169e-05/0.01126, allocations: 39.69 kB / 285.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.01127, allocations: 8 kB / 285.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009395/0.01221, allocations: 1.788 MB / 287.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01221, allocations: 4 kB / 287.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.01251, allocations: 427.4 kB / 287.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.01252, allocations: 15.94 kB / 287.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.01254, allocations: 12 kB / 287.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.01261, allocations: 8 kB / 287.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.01265, allocations: 19.95 kB / 287.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01266, allocations: 8 kB / 287.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.15e-05/0.01271, allocations: 156.4 kB / 288.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01271, allocations: 0 / 288.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.01294, allocations: 68 kB / 288.2 MB, free: 5.816 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.614e-05/0.01301, allocations: 107.2 kB / 288.3 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.0133, allocations: 327.1 kB / 288.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0133, allocations: 0 / 288.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01346, allocations: 285.3 kB / 288.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01371, allocations: 40.22 kB / 288.9 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.01451, allocations: 0.6383 MB / 289.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.01456, allocations: 84.94 kB / 289.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.01462, allocations: 26.27 kB / 289.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.01472, allocations: 122.2 kB / 289.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01472, allocations: 0 / 289.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of Templates: time 0.004603/0.01932, allocations: 2.987 MB / 292.8 MB, free: 1.148 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4874658519402146]