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.001818/0.001818, allocations: 88.7 kB / 21.44 MB, free: 276 kB / 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.001524/0.001524, allocations: 164.2 kB / 24.71 MB, free: 3.527 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.379/1.379, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.249e-05, allocations: 6.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003885/0.003917, allocations: 2.224 MB / 301.2 MB, free: 6.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.005236, allocations: 0.5969 MB / 301.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.005479, allocations: 7.938 kB / 301.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.005689, allocations: 39.58 kB / 301.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.005963, allocations: 79.27 kB / 301.9 MB, free: 5.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.006268, allocations: 59.86 kB / 301.9 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.006697, allocations: 282.5 kB / 302.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.006918, allocations: 71.23 kB / 302.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.007241, allocations: 163.7 kB / 302.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.007424, allocations: 83.7 kB / 302.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.007482, allocations: 20 kB / 302.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.275e-05/0.007535, allocations: 20 kB / 302.6 MB, free: 5.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.007599, allocations: 55.7 kB / 302.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.007723, allocations: 79.83 kB / 302.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.008194, allocations: 267.1 kB / 303 MB, free: 4.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.008199, allocations: 0 / 303 MB, free: 4.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0082, allocations: 0 / 303 MB, free: 4.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.008219, allocations: 4 kB / 303 MB, free: 4.676 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.0009373/0.009156, allocations: 465.5 kB / 303.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.009206, allocations: 11.98 kB / 303.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.009284, allocations: 36.73 kB / 303.5 MB, free: 4.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.0097, allocations: 178.2 kB / 303.6 MB, free: 3.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.009726, allocations: 16.88 kB / 303.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.009789, allocations: 24.38 kB / 303.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.01023, allocations: 200.6 kB / 303.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.01026, allocations: 4.141 kB / 303.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.01028, allocations: 8.375 kB / 303.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01029, allocations: 7.938 kB / 303.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.0106, allocations: 141.9 kB / 304 MB, free: 3.547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/0.01158, allocations: 0.4983 MB / 304.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.01191, allocations: 170.4 kB / 304.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.01209, allocations: 84.83 kB / 304.8 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.01211, allocations: 8.391 kB / 304.8 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.01215, allocations: 42.56 kB / 304.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.01215, allocations: 0 / 304.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002087/0.01424, allocations: 0.915 MB / 305.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.01429, allocations: 55.41 kB / 305.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01447, allocations: 166.8 kB / 306 MB, free: 1.488 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.0145, allocations: 33.7 kB / 306 MB, free: 1.449 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01461, allocations: 140.8 kB / 306.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.0147, allocations: 119 kB / 306.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.0148, allocations: 61.44 kB / 306.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.01496, allocations: 334.8 kB / 306.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.01511, allocations: 67.97 kB / 306.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01529, allocations: 110.5 kB / 306.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.01563, allocations: 196.1 kB / 307 MB, free: 416 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01564, allocations: 0 / 307 MB, free: 416 kB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005412/0.01618, allocations: 302 kB / 307.3 MB, free: 104 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.0162, allocations: 7.938 kB / 307.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.0162, allocations: 0 / 307.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.01639, allocations: 48.89 kB / 307.4 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.01667, allocations: 56.02 kB / 307.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.01839, allocations: 1.599 MB / 309 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.01853, allocations: 19.92 kB / 309 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.01855, allocations: 4 kB / 309 MB, free: 14.26 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.0001645/0.01871, allocations: 142.1 kB / 309.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.01877, allocations: 23.91 kB / 309.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/0.01884, allocations: 26.64 kB / 309.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01884, allocations: 4 kB / 309.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.01885, allocations: 7.938 kB / 309.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.01886, allocations: 3.984 kB / 309.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.02001, allocations: 0.676 MB / 309.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.02002, allocations: 7.984 kB / 309.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.0203, allocations: 55.91 kB / 310 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.02042, allocations: 28.84 kB / 310 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.02045, allocations: 12 kB / 310 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.0217, allocations: 1.354 MB / 311.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02171, allocations: 0 / 311.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.02244, allocations: 486.5 kB / 311.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.02248, allocations: 19.86 kB / 311.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.02251, allocations: 8 kB / 311.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.02265, allocations: 12.23 kB / 311.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.02272, allocations: 23.94 kB / 311.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.02274, allocations: 12 kB / 311.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.02285, allocations: 119.3 kB / 312 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02285, allocations: 4 kB / 312 MB, free: 11.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.02325, allocations: 64 kB / 312.1 MB, free: 10.99 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.0001568/0.0234, allocations: 111.2 kB / 312.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006901/0.02409, allocations: 322.4 kB / 312.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.0241, allocations: 3.828 kB / 312.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.02446, allocations: 230.6 kB / 312.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.02491, allocations: 51.89 kB / 312.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.02617, allocations: 0.6272 MB / 313.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.02633, allocations: 150.5 kB / 313.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.02642, allocations: 18.3 kB / 313.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.02648, allocations: 20.5 kB / 313.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.02649, allocations: 0 / 313.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of Templates: time 0.007345/0.03383, allocations: 2.646 MB / 316.3 MB, free: 6.746 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/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: 4.3827117420732975]