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.00129/0.00129, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001474/0.001474, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.59/1.59, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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 0.001725/0.001725, allocations: 51.92 kB / 374.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1315, allocations: 53.33 MB / 427.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004488/0.136, allocations: 2.383 MB / 429.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1379, allocations: 0.6466 MB / 430.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.1382, allocations: 7.938 kB / 430.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1385, allocations: 35.66 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.1389, allocations: 83.27 kB / 430.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.1394, allocations: 59.92 kB / 430.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.14, allocations: 278.7 kB / 431 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.1403, allocations: 70.77 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.1407, allocations: 123.5 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.141, allocations: 115.5 kB / 431.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.1411, allocations: 27.94 kB / 431.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1412, allocations: 20 kB / 431.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.1412, allocations: 47.84 kB / 431.4 MB, free: 476 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1414, allocations: 127.3 kB / 431.5 MB, free: 348 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.142, allocations: 278.8 kB / 431.8 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.142, allocations: 0 / 431.8 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.142, allocations: 0 / 431.8 MB, free: 68 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.142, allocations: 0 / 431.8 MB, free: 68 kB / 350.1 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.2664/0.4084, allocations: 0.5182 MB / 432.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4085, allocations: 9.25 kB / 432.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.4087, allocations: 41.73 kB / 432.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.4091, allocations: 245.5 kB / 432.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.4091, allocations: 19 kB / 432.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.4091, allocations: 27.23 kB / 432.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.4095, allocations: 195.6 kB / 432.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4096, allocations: 1.312 kB / 432.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.4096, allocations: 15.28 kB / 432.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.4096, allocations: 6.156 kB / 432.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.4099, allocations: 136.9 kB / 433 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.4108, allocations: 0.6266 MB / 433.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.4111, allocations: 162.4 kB / 433.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.4112, allocations: 89.11 kB / 433.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4113, allocations: 3.094 kB / 433.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4113, allocations: 45.81 kB / 433.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.4113, allocations: 0 / 433.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001734/0.413, allocations: 1.079 MB / 435 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.4131, allocations: 55.75 kB / 435 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4132, allocations: 186.4 kB / 435.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4132, allocations: 31.33 kB / 435.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.4133, allocations: 142.4 kB / 435.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.4134, allocations: 121.5 kB / 435.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.4134, allocations: 49.62 kB / 435.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.4135, allocations: 335.4 kB / 435.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4136, allocations: 71.3 kB / 435.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4138, allocations: 101.8 kB / 436 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.4141, allocations: 194.8 kB / 436.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4141, allocations: 1.094 kB / 436.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004684/0.4145, allocations: 289.7 kB / 436.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4146, allocations: 5.344 kB / 436.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4146, allocations: 1.719 kB / 436.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.4148, allocations: 45.34 kB / 436.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.415, allocations: 62.22 kB / 436.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.4162, allocations: 1.749 MB / 438.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4163, allocations: 7.469 kB / 438.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.4163, allocations: 7.906 kB / 438.4 MB, free: 7.422 MB / 350.1 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 0.0001051/0.4164, allocations: 142.8 kB / 438.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.4164, allocations: 26.8 kB / 438.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.4165, allocations: 28.59 kB / 438.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4165, allocations: 6.062 kB / 438.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4165, allocations: 1.219 kB / 438.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4165, allocations: 3.938 kB / 438.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.4175, allocations: 0.7817 MB / 439.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4175, allocations: 2.281 kB / 439.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.4178, allocations: 57.06 kB / 439.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.4179, allocations: 39.91 kB / 439.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4179, allocations: 6.875 kB / 439.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008839/0.4188, allocations: 1.482 MB / 440.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4188, allocations: 5.844 kB / 440.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.4194, allocations: 481.1 kB / 441.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.4195, allocations: 101.8 kB / 441.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.4195, allocations: 6.312 kB / 441.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4196, allocations: 12.06 kB / 441.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.4197, allocations: 20.17 kB / 441.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4197, allocations: 7.219 kB / 441.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4198, allocations: 140.7 kB / 441.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4198, allocations: 2.625 kB / 441.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.4202, allocations: 69.84 kB / 441.8 MB, free: 4.727 MB / 350.1 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 0.0001164/0.4203, allocations: 107.7 kB / 441.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006091/0.4209, allocations: 330.9 kB / 442.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4209, allocations: 9.375 kB / 442.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.4213, allocations: 228.4 kB / 442.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.4217, allocations: 48.72 kB / 442.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4229, allocations: 0.7599 MB / 443.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4231, allocations: 0.7546 MB / 444 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.4231, allocations: 23.72 kB / 444 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4231, allocations: 0 / 444 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Templates: time 0.007693/0.4308, allocations: 3.925 MB / 447.9 MB, free: 2.676 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.921284315001685]