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.0009593/0.0009593, allocations: 82.28 kB / 22.21 MB, free: 2.297 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.0009579/0.0009579, allocations: 144.6 kB / 25.59 MB, free: 8.578 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.8744/0.8744, allocations: 173.4 MB / 202.3 MB, free: 8.293 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.443e-06/1.443e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.658e-05, allocations: 3.094 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002475/0.002492, allocations: 2.367 MB / 271.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.003315, allocations: 0.5755 MB / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.003425, allocations: 9.406 kB / 272.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.003543, allocations: 31.66 kB / 272.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.003674, allocations: 87.83 kB / 272.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.003833, allocations: 56.5 kB / 272.3 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.004051, allocations: 283.2 kB / 272.6 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.004192, allocations: 75.22 kB / 272.7 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.004356, allocations: 169.2 kB / 272.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.004469, allocations: 83.77 kB / 272.9 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.004496, allocations: 20 kB / 272.9 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.00452, allocations: 20 kB / 272.9 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.004559, allocations: 56.25 kB / 273 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.004618, allocations: 83.83 kB / 273.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.005133, allocations: 175.3 kB / 273.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005135, allocations: 0 / 273.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005136, allocations: 0 / 273.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.00514, allocations: 0 / 273.3 MB, free: 5.703 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.0004778/0.005618, allocations: 0.5545 MB / 273.8 MB, free: 5.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.005647, allocations: 12.03 kB / 273.8 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.005697, allocations: 40.8 kB / 273.9 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.005869, allocations: 185 kB / 274 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005883, allocations: 16.88 kB / 274.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.00591, allocations: 20.38 kB / 274.1 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.006072, allocations: 149.4 kB / 274.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.006083, allocations: 4.172 kB / 274.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.006095, allocations: 8.375 kB / 274.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.006104, allocations: 15.92 kB / 274.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.006181, allocations: 63.38 kB / 274.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.006682, allocations: 0.5098 MB / 274.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.006823, allocations: 127 kB / 274.9 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.006879, allocations: 66.67 kB / 275 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.006895, allocations: 11.97 kB / 275 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.006914, allocations: 37.39 kB / 275.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 9.32e-07/0.006915, allocations: 0 / 275.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008511/0.007766, allocations: 0.7183 MB / 275.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.007797, allocations: 55.41 kB / 275.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.007894, allocations: 215.9 kB / 276 MB, free: 2.703 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007909, allocations: 29.7 kB / 276.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.007976, allocations: 191.5 kB / 276.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.008029, allocations: 118.9 kB / 276.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.008083, allocations: 63.33 kB / 276.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.008192, allocations: 0.5078 MB / 276.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.008228, allocations: 27.98 kB / 277 MB, free: 1.742 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.008288, allocations: 71.03 kB / 277 MB, free: 1.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.008399, allocations: 128.6 kB / 277.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.0084, allocations: 0 / 277.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000211/0.008611, allocations: 210.7 kB / 277.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008623, allocations: 8 kB / 277.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008629, allocations: 7.922 kB / 277.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.008734, allocations: 39.67 kB / 277.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.008873, allocations: 59.97 kB / 277.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009433/0.009816, allocations: 2.08 MB / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.009876, allocations: 8 kB / 279.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.009888, allocations: 11.94 kB / 279.6 MB, free: 14.98 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.595e-05/0.009974, allocations: 172.5 kB / 279.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.01001, allocations: 31.89 kB / 279.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.01004, allocations: 34.64 kB / 279.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01004, allocations: 4 kB / 279.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01004, allocations: 0 / 279.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01005, allocations: 0 / 279.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.01081, allocations: 0.6248 MB / 280.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01081, allocations: 8.281 kB / 280.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.01095, allocations: 63.91 kB / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.01102, allocations: 31.66 kB / 280.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01103, allocations: 7.938 kB / 280.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006793/0.01171, allocations: 1.788 MB / 282.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01171, allocations: 4.172 kB / 282.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.01201, allocations: 434.7 kB / 282.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.01202, allocations: 15.86 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01204, allocations: 11.98 kB / 282.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.0121, allocations: 8 kB / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.01214, allocations: 23.95 kB / 282.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01215, allocations: 7.938 kB / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.316e-05/0.0122, allocations: 155.1 kB / 283 MB, free: 11.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0122, allocations: 0 / 283 MB, free: 11.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.01243, allocations: 72 kB / 283.1 MB, free: 11.28 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.219e-05/0.0125, allocations: 103.2 kB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.01279, allocations: 337.7 kB / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0128, allocations: 0 / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.01295, allocations: 277.7 kB / 283.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.0132, allocations: 39.91 kB / 283.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.01398, allocations: 0.6344 MB / 284.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.366e-05/0.01403, allocations: 92.69 kB / 284.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.01408, allocations: 18.3 kB / 284.5 MB, free: 9.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.01418, allocations: 118.2 kB / 284.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01418, allocations: 0 / 284.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of Templates: time 0.004764/0.01894, allocations: 2.984 MB / 287.6 MB, free: 6.617 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.596296885982156]