Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001535/0.001535, allocations: 113.1 kB / 21.93 MB, free: 5.223 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.001679/0.001679, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 57.64 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3872, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003935/0.3911, allocations: 2.23 MB / 399.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3924, allocations: 0.5958 MB / 400.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.3926, allocations: 8.938 kB / 400.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.3928, allocations: 36.58 kB / 400.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.393, allocations: 82.78 kB / 400.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3932, allocations: 60.5 kB / 400.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.3937, allocations: 270.6 kB / 400.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.3939, allocations: 73.5 kB / 400.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3941, allocations: 110.8 kB / 401.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.3943, allocations: 98.86 kB / 401.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.3943, allocations: 20.69 kB / 401.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.3944, allocations: 20.91 kB / 401.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.3944, allocations: 54.75 kB / 401.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3946, allocations: 100.4 kB / 401.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.395, allocations: 263.5 kB / 401.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.395, allocations: 5.469 kB / 401.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.395, allocations: 0 / 401.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.395, allocations: 0 / 401.6 MB, free: 6.898 MB / 318.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.000778/0.3958, allocations: 463.8 kB / 402.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3958, allocations: 13.33 kB / 402.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.3959, allocations: 33.81 kB / 402.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.3962, allocations: 182.9 kB / 402.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3962, allocations: 17.75 kB / 402.3 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.3963, allocations: 27.59 kB / 402.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.3967, allocations: 192.4 kB / 402.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3967, allocations: 5.891 kB / 402.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.3967, allocations: 10.91 kB / 402.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3967, allocations: 5.375 kB / 402.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3971, allocations: 148.2 kB / 402.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.398, allocations: 0.4888 MB / 403.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3983, allocations: 162.1 kB / 403.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3985, allocations: 99.88 kB / 403.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3985, allocations: 2.281 kB / 403.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3986, allocations: 36.78 kB / 403.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.3986, allocations: 0 / 403.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001875/0.4004, allocations: 0.9178 MB / 404.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4005, allocations: 55.06 kB / 404.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.4006, allocations: 171.8 kB / 404.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4006, allocations: 31.77 kB / 404.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.4007, allocations: 139 kB / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.4008, allocations: 128.1 kB / 404.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.4008, allocations: 51.67 kB / 404.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.4009, allocations: 331.9 kB / 405.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.4011, allocations: 71.05 kB / 405.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.4012, allocations: 104.8 kB / 405.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.4015, allocations: 191.8 kB / 405.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4015, allocations: 1.062 kB / 405.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005175/0.4021, allocations: 297.1 kB / 405.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4021, allocations: 4.938 kB / 405.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4021, allocations: 5.578 kB / 405.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.4023, allocations: 49.52 kB / 406 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.4025, allocations: 52.48 kB / 406 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.4038, allocations: 1.616 MB / 407.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4039, allocations: 9.391 kB / 407.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.4039, allocations: 7.672 kB / 407.7 MB, free: 2.449 MB / 318.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.0001109/0.404, allocations: 141.7 kB / 407.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.404, allocations: 21.48 kB / 407.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.4041, allocations: 36.77 kB / 407.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4041, allocations: 2.75 kB / 407.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4041, allocations: 1.375 kB / 407.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4041, allocations: 5.844 kB / 407.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4052, allocations: 0.674 MB / 408.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4052, allocations: 1.375 kB / 408.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4054, allocations: 53.86 kB / 408.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.4055, allocations: 43.59 kB / 408.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.4056, allocations: 11.64 kB / 408.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009215/0.4065, allocations: 1.35 MB / 410 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4065, allocations: 2.422 kB / 410 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.4072, allocations: 493.5 kB / 410.5 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.4072, allocations: 23.75 kB / 410.5 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.4072, allocations: 11.36 kB / 410.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4074, allocations: 13.08 kB / 410.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.4074, allocations: 24.09 kB / 410.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.4075, allocations: 10.94 kB / 410.6 MB, free: 132 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.4075, allocations: 119.9 kB / 410.7 MB, free: 44 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4075, allocations: 0 / 410.7 MB, free: 44 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.4079, allocations: 64.62 kB / 410.7 MB, free: 36 kB / 318.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.0001722/0.4081, allocations: 110.8 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.4088, allocations: 325.9 kB / 411.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4088, allocations: 1.375 kB / 411.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.4091, allocations: 233 kB / 411.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4096, allocations: 39.19 kB / 411.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4111, allocations: 0.762 MB / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.4113, allocations: 146.5 kB / 412.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.4114, allocations: 22.8 kB / 412.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4114, allocations: 0 / 412.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Templates: time 0.007856/0.4192, allocations: 3.946 MB / 416.3 MB, free: 13.31 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.317683096975088]