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.00141/0.00141, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001505/0.001505, allocations: 185 kB / 24.45 MB, free: 3.867 MB / 14.72 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 1.531/1.531, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001585/0.001585, allocations: 43.92 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3505, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004164/0.3547, allocations: 2.25 MB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3558, allocations: 0.5454 MB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.356, allocations: 11.94 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.3562, allocations: 31.66 kB / 426.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.3563, allocations: 79.34 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.3565, allocations: 43.94 kB / 426.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.3569, allocations: 266.8 kB / 427 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3571, allocations: 56.36 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3572, allocations: 111.6 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3574, allocations: 91.55 kB / 427.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.3574, allocations: 20 kB / 427.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.3575, allocations: 16 kB / 427.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.3575, allocations: 47.84 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3577, allocations: 103.5 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.358, allocations: 245.8 kB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.358, allocations: 3.938 kB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.358, allocations: 0 / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.358, allocations: 0 / 427.7 MB, free: 10.54 MB / 334.1 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.0007833/0.3588, allocations: 457.6 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3588, allocations: 8.031 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.3589, allocations: 28.75 kB / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.3592, allocations: 182.8 kB / 428.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3593, allocations: 16.81 kB / 428.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.3593, allocations: 16.38 kB / 428.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.3597, allocations: 214.2 kB / 428.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.3597, allocations: 7.953 kB / 428.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3597, allocations: 4 kB / 428.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3598, allocations: 8 kB / 428.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.36, allocations: 129.6 kB / 428.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.361, allocations: 0.5882 MB / 429.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.3613, allocations: 134.5 kB / 429.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3615, allocations: 64.83 kB / 429.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3615, allocations: 4 kB / 429.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3615, allocations: 34.5 kB / 429.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3615, allocations: 0 / 429.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001649/0.3632, allocations: 0.7564 MB / 430.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3632, allocations: 55.34 kB / 430.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3634, allocations: 162.3 kB / 430.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3634, allocations: 25.7 kB / 430.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3635, allocations: 148.4 kB / 430.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.3636, allocations: 91.22 kB / 430.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.3637, allocations: 45.7 kB / 430.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3639, allocations: 330.8 kB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.364, allocations: 59.97 kB / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3642, allocations: 100.2 kB / 431.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.3645, allocations: 164.1 kB / 431.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3645, allocations: 0 / 431.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004818/0.365, allocations: 262.1 kB / 431.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.365, allocations: 4 kB / 431.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.365, allocations: 3.938 kB / 431.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.3652, allocations: 36.84 kB / 431.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3654, allocations: 51.89 kB / 431.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.3669, allocations: 1.355 MB / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.367, allocations: 15.97 kB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.367, allocations: 12 kB / 433.2 MB, free: 4.656 MB / 334.1 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 0.0001415/0.3671, allocations: 129.8 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3672, allocations: 23.8 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.3672, allocations: 25.97 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3672, allocations: 4 kB / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3672, allocations: 0 / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3673, allocations: 7.922 kB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009216/0.3682, allocations: 0.5541 MB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3682, allocations: 4 kB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3684, allocations: 43.91 kB / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.3685, allocations: 36.84 kB / 434 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3685, allocations: 4 kB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.3699, allocations: 1.359 MB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3699, allocations: 3.938 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.3705, allocations: 397.1 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.3705, allocations: 19.8 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.3706, allocations: 8 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3707, allocations: 11.94 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.3707, allocations: 24.03 kB / 435.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3708, allocations: 7.984 kB / 435.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3709, allocations: 128.2 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.3712, allocations: 60 kB / 436.1 MB, free: 1.629 MB / 334.1 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 0.0001352/0.3713, allocations: 107.1 kB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.3719, allocations: 278.7 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3719, allocations: 0 / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.3723, allocations: 206.5 kB / 436.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3727, allocations: 43.91 kB / 436.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3741, allocations: 0.7067 MB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3742, allocations: 138.5 kB / 437.5 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.3743, allocations: 19.44 kB / 437.5 MB, free: 48 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3743, allocations: 0 / 437.5 MB, free: 48 kB / 334.1 MB Notification: Performance of Templates: time 0.006521/0.3808, allocations: 3.579 MB / 441.1 MB, free: 12.47 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/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: 7.756394741591066]