Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001106/0.001106, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001153/0.001153, allocations: 165.3 kB / 25.33 MB, free: 8.594 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.8957/0.8957, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.FirstGrounded,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.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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 4 kB / 251 MB, free: 7.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.71e-05, allocations: 6.25 kB / 251 MB, free: 7.625 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002688/0.002715, allocations: 2.389 MB / 253.4 MB, free: 5.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.003682, allocations: 0.6202 MB / 254 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.003826, allocations: 4 kB / 254 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.003965, allocations: 35.59 kB / 254.1 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.004093, allocations: 75.33 kB / 254.1 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.004291, allocations: 63.8 kB / 254.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.004537, allocations: 262.6 kB / 254.5 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.004679, allocations: 56.5 kB / 254.5 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.004859, allocations: 155.7 kB / 254.7 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004967, allocations: 79.72 kB / 254.8 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.004999, allocations: 20 kB / 254.8 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.005023, allocations: 20 kB / 254.8 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.005057, allocations: 47.81 kB / 254.8 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.005121, allocations: 79.83 kB / 254.9 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.005329, allocations: 167.3 kB / 255.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005332, allocations: 4 kB / 255.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005333, allocations: 0 / 255.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.005339, allocations: 0 / 255.1 MB, free: 3.539 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005193/0.005858, allocations: 0.539 MB / 255.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.005902, allocations: 11.98 kB / 255.6 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.005963, allocations: 40.8 kB / 255.7 MB, free: 2.914 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.006163, allocations: 188.9 kB / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.006455, allocations: 12.88 kB / 255.9 MB, free: 2.691 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.00649, allocations: 24.36 kB / 255.9 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.006726, allocations: 185.7 kB / 256.1 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.006739, allocations: 192 / 256.1 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.006756, allocations: 12.38 kB / 256.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.006766, allocations: 11.94 kB / 256.1 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.006878, allocations: 82.86 kB / 256.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.007542, allocations: 0.6724 MB / 256.9 MB, free: 1.648 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.007708, allocations: 122.9 kB / 257 MB, free: 1.512 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.00777, allocations: 47.66 kB / 257 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.007785, allocations: 4 kB / 257 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.007806, allocations: 37.33 kB / 257.1 MB, free: 1.41 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.007807, allocations: 0 / 257.1 MB, free: 1.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.000902/0.008709, allocations: 0.6339 MB / 257.7 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.008736, allocations: 51.41 kB / 257.7 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.008857, allocations: 225.8 kB / 258 MB, free: 420 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.00887, allocations: 33.7 kB / 258 MB, free: 380 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.008942, allocations: 187.1 kB / 258.2 MB, free: 188 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.008986, allocations: 95.2 kB / 258.3 MB, free: 92 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.009038, allocations: 59.3 kB / 258.3 MB, free: 24 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.009168, allocations: 0.5079 MB / 258.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.009223, allocations: 27.97 kB / 258.9 MB, free: 15.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.0093, allocations: 94.34 kB / 259 MB, free: 15.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.009441, allocations: 138.3 kB / 259.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009442, allocations: 0 / 259.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002315/0.009674, allocations: 209.1 kB / 259.3 MB, free: 14.99 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.009688, allocations: 11.94 kB / 259.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.009694, allocations: 4 kB / 259.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.00982, allocations: 27.66 kB / 259.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.009956, allocations: 51.92 kB / 259.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.01087, allocations: 1.803 MB / 261.2 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.01093, allocations: 12.03 kB / 261.2 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.01095, allocations: 7.984 kB / 261.2 MB, free: 12.94 MB / 250.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 8.833e-05/0.01103, allocations: 172.5 kB / 261.4 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.01107, allocations: 27.91 kB / 261.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.01109, allocations: 21.97 kB / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01109, allocations: 4 kB / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01109, allocations: 0 / 261.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.0111, allocations: 3.984 kB / 261.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.01161, allocations: 0.5735 MB / 262 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01161, allocations: 0 / 262 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01173, allocations: 47.91 kB / 262.1 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.871e-05/0.01181, allocations: 35.59 kB / 262.1 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01182, allocations: 8 kB / 262.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.01283, allocations: 1.811 MB / 263.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01283, allocations: 0 / 263.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.01314, allocations: 395.3 kB / 264.3 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.01315, allocations: 11.91 kB / 264.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.01317, allocations: 11.94 kB / 264.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.01322, allocations: 4 kB / 264.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.01327, allocations: 23.98 kB / 264.3 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01328, allocations: 8 kB / 264.4 MB, free: 9.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.01334, allocations: 164.2 kB / 264.5 MB, free: 9.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01334, allocations: 0 / 264.5 MB, free: 9.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01355, allocations: 63.94 kB / 264.6 MB, free: 9.348 MB / 250.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 9.115e-05/0.01364, allocations: 99.19 kB / 264.7 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.01399, allocations: 316.6 kB / 265 MB, free: 8.914 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01399, allocations: 0 / 265 MB, free: 8.914 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.01416, allocations: 261.3 kB / 265.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01443, allocations: 35.64 kB / 265.3 MB, free: 8.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.01538, allocations: 0.5866 MB / 265.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.01544, allocations: 88.25 kB / 265.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.821e-05/0.0155, allocations: 21.94 kB / 266 MB, free: 7.852 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.01554, allocations: 20.5 kB / 266 MB, free: 7.832 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01554, allocations: 0 / 266 MB, free: 7.832 MB / 250.7 MB Notification: Performance of Templates: time 0.004693/0.02023, allocations: 2.605 MB / 268.6 MB, free: 5.25 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.668962195981294]