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.001351/0.001351, allocations: 81.42 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001381/0.001381, allocations: 147 kB / 23.94 MB, free: 4.168 MB / 14.72 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 1.402/1.402, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.243e-06/1.243e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.248e-05, allocations: 6.219 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002783/0.002805, allocations: 2.226 MB / 321.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.003605, allocations: 0.5506 MB / 321.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.003712, allocations: 12.69 kB / 321.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.003836, allocations: 36.2 kB / 321.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.003978, allocations: 83.7 kB / 321.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.004151, allocations: 55.75 kB / 321.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.004395, allocations: 287 kB / 322.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.004554, allocations: 79.41 kB / 322.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.004757, allocations: 154 kB / 322.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.004895, allocations: 86.67 kB / 322.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.004932, allocations: 21.62 kB / 322.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.004973, allocations: 23.69 kB / 322.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.005013, allocations: 49.8 kB / 322.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.005105, allocations: 86.11 kB / 322.6 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.005388, allocations: 269 kB / 322.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005391, allocations: 2.141 kB / 322.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005392, allocations: 0 / 322.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.005407, allocations: 3.938 kB / 322.9 MB, free: 1.078 MB / 286.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.0005782/0.005985, allocations: 461.5 kB / 323.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.006017, allocations: 13.94 kB / 323.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.006073, allocations: 25.86 kB / 323.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.006289, allocations: 185.4 kB / 323.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.006306, allocations: 18.59 kB / 323.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.006343, allocations: 23.77 kB / 323.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.006663, allocations: 187.8 kB / 323.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.006682, allocations: 2.312 kB / 323.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.006702, allocations: 11.12 kB / 323.8 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.00671, allocations: 13.44 kB / 323.8 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.006972, allocations: 140.4 kB / 324 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.007702, allocations: 0.4897 MB / 324.5 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.008029, allocations: 166.7 kB / 324.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.008201, allocations: 99.11 kB / 324.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.008223, allocations: 2.562 kB / 324.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.008257, allocations: 38 kB / 324.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 3.807e-06/0.008261, allocations: 4 kB / 324.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001877/0.01014, allocations: 0.9205 MB / 325.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.01018, allocations: 55 kB / 325.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01034, allocations: 165.1 kB / 325.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.01036, allocations: 31.86 kB / 325.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.01046, allocations: 142.8 kB / 326.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.01055, allocations: 120.9 kB / 326.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.01064, allocations: 54.19 kB / 326.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.01079, allocations: 337.7 kB / 326.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.01094, allocations: 71.36 kB / 326.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.0111, allocations: 103 kB / 326.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.01144, allocations: 190.9 kB / 326.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.01144, allocations: 1.031 kB / 326.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005295/0.01197, allocations: 297.7 kB / 327.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01199, allocations: 13.41 kB / 327.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01199, allocations: 1.156 kB / 327.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.01217, allocations: 42.58 kB / 327.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.01241, allocations: 60.48 kB / 327.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.014, allocations: 1.604 MB / 328.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01412, allocations: 8.875 kB / 328.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.01414, allocations: 11.78 kB / 329 MB, free: 12.64 MB / 302.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.0001466/0.01429, allocations: 137 kB / 329.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.01434, allocations: 21.89 kB / 329.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.0144, allocations: 26.77 kB / 329.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.0144, allocations: 8.328 kB / 329.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.01441, allocations: 9.375 kB / 329.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.01442, allocations: 1.641 kB / 329.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.01555, allocations: 0.6737 MB / 329.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01555, allocations: 1.156 kB / 329.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.01582, allocations: 62.08 kB / 329.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.01595, allocations: 37.16 kB / 329.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.01597, allocations: 6.188 kB / 329.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.01741, allocations: 1.362 MB / 331.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01741, allocations: 1.281 kB / 331.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/0.01826, allocations: 491.2 kB / 331.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.0183, allocations: 23.66 kB / 331.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.01833, allocations: 7.328 kB / 331.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.01847, allocations: 9.641 kB / 331.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.01856, allocations: 27.89 kB / 331.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.01857, allocations: 6.672 kB / 331.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.01871, allocations: 126.9 kB / 332 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01871, allocations: 0 / 332 MB, free: 10.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.01914, allocations: 68.91 kB / 332 MB, free: 10.23 MB / 302.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.0001653/0.01931, allocations: 110.5 kB / 332.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006934/0.02, allocations: 323.3 kB / 332.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02, allocations: 1.125 kB / 332.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.02038, allocations: 236.3 kB / 332.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.02083, allocations: 38.8 kB / 332.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.02201, allocations: 0.6325 MB / 333.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.02216, allocations: 146.9 kB / 333.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.388e-05/0.02223, allocations: 23.78 kB / 333.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.02229, allocations: 22.27 kB / 333.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.02229, allocations: 0 / 333.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of Templates: time 0.006616/0.02891, allocations: 2.655 MB / 336.2 MB, free: 8.375 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.1801904402673244]