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.001336/0.001336, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001476/0.001476, allocations: 167.6 kB / 25.7 MB, free: 8.438 MB / 18.57 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 0.8991/0.8991, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.123e-05, allocations: 2.312 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00449/0.004521, allocations: 2.373 MB / 253.9 MB, free: 4.895 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.005888, allocations: 0.6278 MB / 254.5 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.006051, allocations: 11.94 kB / 254.5 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.006225, allocations: 39.64 kB / 254.6 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.006447, allocations: 79.22 kB / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.006679, allocations: 55.91 kB / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.007017, allocations: 282.5 kB / 255 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.007209, allocations: 77.86 kB / 255 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.007501, allocations: 159.6 kB / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.007672, allocations: 91.7 kB / 255.3 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.007716, allocations: 20 kB / 255.3 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.007757, allocations: 24 kB / 255.3 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.007809, allocations: 47.77 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.007908, allocations: 87.83 kB / 255.5 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.008205, allocations: 175.3 kB / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.008208, allocations: 0 / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.00821, allocations: 0 / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.008215, allocations: 4 kB / 255.6 MB, free: 3.125 MB / 234.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.0006114/0.008826, allocations: 440.2 kB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.008865, allocations: 15.92 kB / 256.1 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.00894, allocations: 32.91 kB / 256.1 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.009186, allocations: 162.2 kB / 256.3 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.009208, allocations: 12.88 kB / 256.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.009257, allocations: 28.33 kB / 256.3 MB, free: 2.398 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.009498, allocations: 153.3 kB / 256.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.009514, allocations: 192 / 256.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.009538, allocations: 12.38 kB / 256.5 MB, free: 2.227 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.009549, allocations: 11.94 kB / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.009665, allocations: 55.41 kB / 256.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.01038, allocations: 402 kB / 256.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.01059, allocations: 116.9 kB / 257 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.01068, allocations: 48.83 kB / 257.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.01071, allocations: 11.98 kB / 257.1 MB, free: 1.57 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.01074, allocations: 34.56 kB / 257.1 MB, free: 1.527 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.595e-06/0.01074, allocations: 4 kB / 257.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001469/0.01221, allocations: 0.7203 MB / 257.9 MB, free: 0.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.01225, allocations: 55.41 kB / 257.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.01239, allocations: 166.8 kB / 258.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01241, allocations: 29.7 kB / 258.1 MB, free: 484 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.01249, allocations: 132.8 kB / 258.2 MB, free: 344 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.01258, allocations: 118.9 kB / 258.4 MB, free: 224 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.01266, allocations: 57.67 kB / 258.4 MB, free: 160 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01281, allocations: 334.8 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.01286, allocations: 23.98 kB / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.01295, allocations: 70.55 kB / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01312, allocations: 116 kB / 258.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01312, allocations: 0 / 258.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002911/0.01341, allocations: 174.5 kB / 259.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.01343, allocations: 8 kB / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01344, allocations: 0 / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.0136, allocations: 40.83 kB / 259.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.0138, allocations: 63.91 kB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.01497, allocations: 1.422 MB / 260.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.01506, allocations: 8 kB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01507, allocations: 4 kB / 260.7 MB, free: 13.79 MB / 250.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 0.0001093/0.01518, allocations: 133.8 kB / 260.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.01523, allocations: 23.97 kB / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.01527, allocations: 26.66 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01528, allocations: 4 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01528, allocations: 0 / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01529, allocations: 3.984 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.01607, allocations: 496.8 kB / 261.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01607, allocations: 192 / 261.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.01629, allocations: 67.91 kB / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.0164, allocations: 28.81 kB / 261.4 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01642, allocations: 8 kB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008412/0.01726, allocations: 1.225 MB / 262.7 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01726, allocations: 3.938 kB / 262.7 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.01773, allocations: 318.9 kB / 263 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.01776, allocations: 31.77 kB / 263 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.01779, allocations: 8 kB / 263 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.0179, allocations: 4 kB / 263 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.01795, allocations: 31.89 kB / 263.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01797, allocations: 4 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.01802, allocations: 48.78 kB / 263.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01802, allocations: 0 / 263.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.0184, allocations: 64 kB / 263.2 MB, free: 11.1 MB / 250.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 0.0001148/0.01851, allocations: 80.42 kB / 263.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.01891, allocations: 268.1 kB / 263.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.01892, allocations: 0 / 263.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.01914, allocations: 223.3 kB / 263.7 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.01947, allocations: 35.92 kB / 263.8 MB, free: 10.47 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.02067, allocations: 0.5587 MB / 264.3 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.02075, allocations: 84.7 kB / 264.4 MB, free: 9.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.467e-05/0.02083, allocations: 22.28 kB / 264.4 MB, free: 9.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.02098, allocations: 95.36 kB / 264.5 MB, free: 9.656 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02098, allocations: 0 / 264.5 MB, free: 9.656 MB / 250.7 MB Notification: Performance of Templates: time 0.00717/0.02815, allocations: 2.891 MB / 267.4 MB, free: 6.797 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5955199617892504]