Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001591/0.001591, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 55.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2586, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003716/0.2623, allocations: 2.252 MB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2636, allocations: 0.6193 MB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2637, allocations: 7.938 kB / 434.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.2639, allocations: 35.66 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.264, allocations: 75.34 kB / 434.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.2643, allocations: 59.86 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.2646, allocations: 258.8 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2648, allocations: 69.05 kB / 434.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.265, allocations: 111.6 kB / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2651, allocations: 91.55 kB / 435.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.2652, allocations: 20 kB / 435.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.2652, allocations: 27.94 kB / 435.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.2653, allocations: 51.83 kB / 435.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2654, allocations: 95.53 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.2657, allocations: 249.4 kB / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2657, allocations: 0 / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2657, allocations: 0 / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2657, allocations: 0 / 435.6 MB, free: 2.691 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.0007391/0.2665, allocations: 461.5 kB / 436 MB, free: 2.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2665, allocations: 8.031 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2667, allocations: 36.78 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.267, allocations: 178.8 kB / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.267, allocations: 16.81 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.267, allocations: 20.38 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.2674, allocations: 214.2 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.2674, allocations: 7.953 kB / 436.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2675, allocations: 8 kB / 436.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2675, allocations: 4 kB / 436.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.2677, allocations: 133.6 kB / 436.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.2687, allocations: 0.5921 MB / 437.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.269, allocations: 138.5 kB / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.2691, allocations: 72.77 kB / 437.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2691, allocations: 4 kB / 437.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2691, allocations: 30.56 kB / 437.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.2692, allocations: 0 / 437.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001611/0.2708, allocations: 0.7366 MB / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2708, allocations: 59.34 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.271, allocations: 171 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.271, allocations: 29.64 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2711, allocations: 152.3 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.2712, allocations: 91.22 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.2713, allocations: 45.7 kB / 438.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2714, allocations: 326.8 kB / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2716, allocations: 55.97 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2717, allocations: 109.2 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.272, allocations: 164.2 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.272, allocations: 4 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004653/0.2725, allocations: 250 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2725, allocations: 7.984 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2725, allocations: 0 / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.2727, allocations: 40.97 kB / 439.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.2729, allocations: 47.91 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2743, allocations: 1.355 MB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2744, allocations: 11.97 kB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2744, allocations: 12 kB / 441.1 MB, free: 12.79 MB / 350.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.000134/0.2746, allocations: 133.8 kB / 441.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.2746, allocations: 19.86 kB / 441.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.2747, allocations: 29.95 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2747, allocations: 4 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2747, allocations: 0 / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2747, allocations: 3.938 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.2756, allocations: 0.5611 MB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2756, allocations: 4.062 kB / 441.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.2758, allocations: 43.92 kB / 441.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.2759, allocations: 36.83 kB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2759, allocations: 4 kB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.2772, allocations: 1.351 MB / 443.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2772, allocations: 3.938 kB / 443.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.2778, allocations: 406 kB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.2779, allocations: 27.89 kB / 443.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.2779, allocations: 8.016 kB / 443.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.278, allocations: 8 kB / 443.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.2781, allocations: 23.91 kB / 443.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2781, allocations: 11.94 kB / 443.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.2782, allocations: 127.2 kB / 443.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2782, allocations: 0 / 443.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.2785, allocations: 60 kB / 444 MB, free: 9.754 MB / 350.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.0001195/0.2787, allocations: 103.2 kB / 444.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.2792, allocations: 286.3 kB / 444.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2792, allocations: 4 kB / 444.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.2796, allocations: 207 kB / 444.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.28, allocations: 39.91 kB / 444.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2812, allocations: 0.6852 MB / 445.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2814, allocations: 134.5 kB / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.2814, allocations: 21.95 kB / 445.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.2815, allocations: 19.44 kB / 445.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2815, allocations: 0 / 445.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of Templates: time 0.006644/0.2881, allocations: 2.717 MB / 448.1 MB, free: 5.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.468407748267055]