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.000854/0.000854, allocations: 80 kB / 21.43 MB, free: 3.133 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.003782/0.003782, allocations: 141.2 kB / 24.68 MB, free: 8.883 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.8182/0.8182, allocations: 173.4 MB / 201.2 MB, free: 9.434 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.843e-06/1.843e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.586e-05, allocations: 6.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002537/0.002563, allocations: 2.22 MB / 321.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.003438, allocations: 0.5569 MB / 322.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.003558, allocations: 4 kB / 322.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.003696, allocations: 39.58 kB / 322.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.003825, allocations: 87.27 kB / 322.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.004003, allocations: 55.86 kB / 322.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.004225, allocations: 290.5 kB / 322.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.00438, allocations: 76.11 kB / 323 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.004543, allocations: 167.5 kB / 323.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.004641, allocations: 79.78 kB / 323.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.004673, allocations: 20 kB / 323.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.004694, allocations: 24 kB / 323.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.004726, allocations: 51.77 kB / 323.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.004783, allocations: 83.81 kB / 323.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.005012, allocations: 267.1 kB / 323.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005014, allocations: 0 / 323.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005015, allocations: 0 / 323.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.00502, allocations: 0 / 323.7 MB, free: 1.828 MB / 282.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.0006685/0.005688, allocations: 461.5 kB / 324.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005723, allocations: 12.03 kB / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.005768, allocations: 24.8 kB / 324.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.005988, allocations: 182.1 kB / 324.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006003, allocations: 16.88 kB / 324.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.00604, allocations: 24.38 kB / 324.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.006292, allocations: 196.6 kB / 324.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.006306, allocations: 4.125 kB / 324.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.006323, allocations: 12.38 kB / 324.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006329, allocations: 7.938 kB / 324.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.006501, allocations: 141.9 kB / 324.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.007088, allocations: 0.4944 MB / 325.2 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.007296, allocations: 166.6 kB / 325.4 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.007405, allocations: 92.14 kB / 325.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.007423, allocations: 4 kB / 325.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.00744, allocations: 30.56 kB / 325.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.007442, allocations: 4 kB / 325.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001189/0.00863, allocations: 0.9263 MB / 326.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.008663, allocations: 59.34 kB / 326.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.008766, allocations: 159.5 kB / 326.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.008781, allocations: 29.7 kB / 326.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.008844, allocations: 144.8 kB / 326.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.008898, allocations: 119 kB / 327 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.008953, allocations: 53.7 kB / 327 MB, free: 14.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.00904, allocations: 334.8 kB / 327.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.009129, allocations: 71.97 kB / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.009233, allocations: 104.1 kB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.009432, allocations: 196.1 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009433, allocations: 3.938 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003006/0.009733, allocations: 291 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.009749, allocations: 11.94 kB / 328 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.009755, allocations: 0 / 328 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.009885, allocations: 44.78 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01003, allocations: 51.97 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009932/0.01102, allocations: 1.618 MB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.01109, allocations: 8 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.0111, allocations: 4 kB / 329.7 MB, free: 11.45 MB / 298.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 9.497e-05/0.01119, allocations: 141.8 kB / 329.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01122, allocations: 19.86 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.01124, allocations: 26.66 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01125, allocations: 4 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01125, allocations: 11.94 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01126, allocations: 7.984 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.01187, allocations: 0.6683 MB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01187, allocations: 4 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.01201, allocations: 51.97 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.859e-05/0.01209, allocations: 44.86 kB / 330.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.0121, allocations: 8 kB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008043/0.0129, allocations: 1.359 MB / 332.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01291, allocations: 3.984 kB / 332.1 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.01331, allocations: 486.8 kB / 332.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01333, allocations: 27.95 kB / 332.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.01335, allocations: 8 kB / 332.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.01341, allocations: 11.94 kB / 332.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.01345, allocations: 27.89 kB / 332.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01346, allocations: 8 kB / 332.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.01352, allocations: 123.2 kB / 332.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01352, allocations: 0 / 332.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01375, allocations: 64 kB / 332.8 MB, free: 8.16 MB / 298.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 9.492e-05/0.01385, allocations: 111.2 kB / 332.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.01425, allocations: 326.6 kB / 333.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01425, allocations: 4 kB / 333.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.01443, allocations: 226.5 kB / 333.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.01471, allocations: 44.28 kB / 333.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.01548, allocations: 0.6592 MB / 334.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.549e-05/0.01557, allocations: 150.5 kB / 334.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.01562, allocations: 20.5 kB / 334.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01562, allocations: 0 / 334.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of Templates: time 0.003992/0.01961, allocations: 3.941 MB / 338.3 MB, free: 2.598 MB / 298.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=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.42442546505481]