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.001297/0.001297, allocations: 84 kB / 21.43 MB, free: 3.137 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.006476/0.006476, allocations: 140.8 kB / 24.68 MB, free: 8.891 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.8564/0.8564, allocations: 173.4 MB / 201.2 MB, free: 9.461 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.343e-06/1.343e-06, allocations: 3.938 kB / 319.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.268e-05, allocations: 10.28 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002598/0.00262, allocations: 2.223 MB / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.003334, allocations: 0.5647 MB / 322.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.003439, allocations: 7.938 kB / 322.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.003563, allocations: 31.66 kB / 322.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.003669, allocations: 79.22 kB / 322.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.003855, allocations: 63.91 kB / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.004062, allocations: 266.6 kB / 322.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.0042, allocations: 68.47 kB / 323 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.004343, allocations: 151.6 kB / 323.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.004436, allocations: 79.72 kB / 323.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.004466, allocations: 20 kB / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.004488, allocations: 20 kB / 323.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.004519, allocations: 43.83 kB / 323.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.004576, allocations: 79.77 kB / 323.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.004789, allocations: 251.2 kB / 323.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004792, allocations: 4 kB / 323.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.004793, allocations: 0 / 323.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.004798, allocations: 0 / 323.6 MB, free: 1.926 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004849/0.005283, allocations: 445.7 kB / 324 MB, free: 1.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.005315, allocations: 8.031 kB / 324.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.005359, allocations: 28.75 kB / 324.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.005584, allocations: 174.2 kB / 324.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.005598, allocations: 16.88 kB / 324.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.00563, allocations: 32.31 kB / 324.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.005874, allocations: 211.4 kB / 324.5 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.005887, allocations: 192 / 324.5 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.005902, allocations: 8.375 kB / 324.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.005908, allocations: 11.88 kB / 324.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.006064, allocations: 125.9 kB / 324.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.006655, allocations: 0.5807 MB / 325.2 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.006832, allocations: 146.5 kB / 325.4 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.006918, allocations: 64.83 kB / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.006933, allocations: 0 / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.006955, allocations: 34.56 kB / 325.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 9.12e-07/0.006956, allocations: 3.938 kB / 325.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009549/0.007911, allocations: 0.7417 MB / 326.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.00794, allocations: 55.41 kB / 326.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.008042, allocations: 166.2 kB / 326.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.008054, allocations: 29.7 kB / 326.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.008117, allocations: 144.4 kB / 326.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.008159, allocations: 95.2 kB / 326.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.008208, allocations: 45.7 kB / 326.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.008287, allocations: 330.8 kB / 327.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.008361, allocations: 55.97 kB / 327.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.008449, allocations: 104.2 kB / 327.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.008619, allocations: 172.8 kB / 327.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.00862, allocations: 3.938 kB / 327.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005029/0.009123, allocations: 242.2 kB / 327.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.009138, allocations: 12.05 kB / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.009143, allocations: 4 kB / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.009253, allocations: 36.84 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.009378, allocations: 51.91 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007257/0.0101, allocations: 1.347 MB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.01016, allocations: 8.031 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01017, allocations: 12.05 kB / 329.1 MB, free: 12.07 MB / 298.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 7.979e-05/0.01025, allocations: 141.7 kB / 329.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.01027, allocations: 23.86 kB / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.0103, allocations: 25.95 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.0103, allocations: 4 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.0103, allocations: 0 / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01031, allocations: 0 / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.01081, allocations: 0.5621 MB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01081, allocations: 0 / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.01092, allocations: 43.92 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.616e-05/0.01099, allocations: 36.77 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.011, allocations: 4 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006138/0.01161, allocations: 1.362 MB / 331.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01162, allocations: 3.938 kB / 331.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.01194, allocations: 404.5 kB / 331.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01196, allocations: 19.86 kB / 331.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.01197, allocations: 11.97 kB / 331.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.01203, allocations: 8 kB / 331.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.01207, allocations: 15.97 kB / 331.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01207, allocations: 8 kB / 331.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.564e-05/0.01213, allocations: 124.3 kB / 331.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01213, allocations: 0 / 331.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.01232, allocations: 60 kB / 331.9 MB, free: 9.035 MB / 298.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.163e-05/0.01241, allocations: 107.2 kB / 332 MB, free: 8.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.01273, allocations: 270.5 kB / 332.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01273, allocations: 256 / 332.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.01288, allocations: 221.5 kB / 332.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01314, allocations: 39.97 kB / 332.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.01386, allocations: 0.6071 MB / 333.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.862e-05/0.01394, allocations: 138.5 kB / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.01398, allocations: 20.5 kB / 333.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01398, allocations: 0 / 333.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of Templates: time 0.003581/0.01756, allocations: 3.585 MB / 336.9 MB, free: 3.977 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.793772961944342]