Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001057/0.001057, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.001256/0.001256, allocations: 147.6 kB / 25.59 MB, free: 8.902 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.9075/0.9075, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.FirstGrounded,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.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,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.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.358e-05, allocations: 2.312 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003731/0.003755, allocations: 2.364 MB / 271.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.004849, allocations: 0.5711 MB / 272.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.005002, allocations: 7.938 kB / 272.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.005149, allocations: 35.66 kB / 272.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.005272, allocations: 80.7 kB / 272.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.005435, allocations: 55.86 kB / 272.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.005633, allocations: 267.3 kB / 272.6 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.005758, allocations: 68.45 kB / 272.6 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.00591, allocations: 152.2 kB / 272.8 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.006004, allocations: 76.62 kB / 272.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.006028, allocations: 20 kB / 272.9 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.133e-05/0.006049, allocations: 21.31 kB / 272.9 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.006091, allocations: 51.77 kB / 272.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.006149, allocations: 79.83 kB / 273 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.006331, allocations: 173.3 kB / 273.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006333, allocations: 0 / 273.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006334, allocations: 3.938 kB / 273.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.006338, allocations: 0 / 273.2 MB, free: 5.785 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004475/0.006785, allocations: 0.5321 MB / 273.7 MB, free: 5.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.006816, allocations: 8.031 kB / 273.7 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.006872, allocations: 45.25 kB / 273.8 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.00706, allocations: 181 kB / 273.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.007077, allocations: 20.81 kB / 274 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.007108, allocations: 24.33 kB / 274 MB, free: 4.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.007298, allocations: 173.7 kB / 274.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.007311, allocations: 4.188 kB / 274.2 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.007325, allocations: 8.375 kB / 274.2 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.007333, allocations: 11.92 kB / 274.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.007408, allocations: 63.42 kB / 274.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.008004, allocations: 0.6456 MB / 274.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.008133, allocations: 107 kB / 275 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.008175, allocations: 39.67 kB / 275 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.008188, allocations: 0 / 275 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.008206, allocations: 37.39 kB / 275.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 9.02e-07/0.008207, allocations: 0 / 275.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007009/0.008908, allocations: 0.5805 MB / 275.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.008933, allocations: 59.41 kB / 275.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.009039, allocations: 226.2 kB / 275.9 MB, free: 2.809 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.009052, allocations: 33.7 kB / 276 MB, free: 2.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.009121, allocations: 187.1 kB / 276.1 MB, free: 2.582 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.009161, allocations: 87.22 kB / 276.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.009212, allocations: 55.33 kB / 276.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.00932, allocations: 0.5039 MB / 276.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.009351, allocations: 23.97 kB / 276.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.009407, allocations: 86.36 kB / 276.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.009511, allocations: 120.3 kB / 277 MB, free: 1.652 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009512, allocations: 0 / 277 MB, free: 1.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001985/0.00971, allocations: 198.9 kB / 277.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.009724, allocations: 8 kB / 277.2 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009729, allocations: 0 / 277.2 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.715e-05/0.009826, allocations: 43.66 kB / 277.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.009942, allocations: 47.91 kB / 277.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000839/0.01078, allocations: 1.777 MB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.01084, allocations: 8 kB / 279.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01085, allocations: 11.98 kB / 279.1 MB, free: 15.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 9.135e-05/0.01094, allocations: 176.5 kB / 279.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01098, allocations: 31.8 kB / 279.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.01101, allocations: 25.97 kB / 279.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01101, allocations: 0 / 279.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01101, allocations: 4 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01102, allocations: 3.984 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.01146, allocations: 0.5175 MB / 279.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01146, allocations: 0 / 279.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01157, allocations: 51.98 kB / 279.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-05/0.01164, allocations: 31.66 kB / 279.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.01165, allocations: 4 kB / 279.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006853/0.01233, allocations: 1.784 MB / 281.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01233, allocations: 4.031 kB / 281.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.01258, allocations: 378 kB / 282.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.0126, allocations: 19.86 kB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.01261, allocations: 4 kB / 282.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.01267, allocations: 4 kB / 282.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.0127, allocations: 27.89 kB / 282.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.01271, allocations: 4 kB / 282.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.01276, allocations: 156.1 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01276, allocations: 0 / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01296, allocations: 60 kB / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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 8.729e-05/0.01305, allocations: 111.1 kB / 282.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.01331, allocations: 293.3 kB / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01331, allocations: 3.938 kB / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01345, allocations: 248 kB / 283 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.01371, allocations: 55.83 kB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.01448, allocations: 0.5823 MB / 283.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.743e-05/0.01453, allocations: 88.25 kB / 283.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.582e-05/0.01458, allocations: 21.95 kB / 283.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.01466, allocations: 106.2 kB / 283.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01467, allocations: 0 / 283.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Templates: time 0.004284/0.01895, allocations: 2.733 MB / 286.6 MB, free: 7.672 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.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.663596672937274]