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.001405/0.001405, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001804/0.001804, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001578/0.001578, allocations: 47.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2347, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003837/0.2385, allocations: 2.259 MB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2399, allocations: 0.6154 MB / 434.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.24, allocations: 4 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.2402, allocations: 39.59 kB / 434.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.2403, allocations: 79.34 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.2406, allocations: 67.78 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.2409, allocations: 254.8 kB / 434.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2411, allocations: 69.05 kB / 434.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.2413, allocations: 111.5 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2415, allocations: 103.5 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.2415, allocations: 24 kB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.2416, allocations: 24 kB / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.2416, allocations: 47.84 kB / 435.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2417, allocations: 99.52 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.2421, allocations: 253.4 kB / 435.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2421, allocations: 3.938 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2421, allocations: 0 / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2421, allocations: 0 / 435.6 MB, free: 2.68 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.0007805/0.2429, allocations: 461.6 kB / 436 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2429, allocations: 8.031 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.243, allocations: 32.8 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2434, allocations: 178.8 kB / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.2434, allocations: 16.81 kB / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.2434, allocations: 24.38 kB / 436.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.2438, allocations: 214.1 kB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2438, allocations: 7.953 kB / 436.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2438, allocations: 4 kB / 436.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2439, allocations: 11.98 kB / 436.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.2442, allocations: 125.7 kB / 436.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.2452, allocations: 0.5882 MB / 437.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.2454, allocations: 142.5 kB / 437.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.2456, allocations: 64.83 kB / 437.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2456, allocations: 4 kB / 437.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2456, allocations: 34.56 kB / 437.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.2456, allocations: 4 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001556/0.2472, allocations: 0.7341 MB / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.2472, allocations: 59.34 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2474, allocations: 163 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.2474, allocations: 29.7 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2475, allocations: 152.3 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.2476, allocations: 91.22 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.2477, allocations: 49.64 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2479, allocations: 330.8 kB / 439.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.248, allocations: 59.97 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.2481, allocations: 97.31 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2484, allocations: 168.2 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2484, allocations: 4 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004988/0.2489, allocations: 258 kB / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.249, allocations: 4 kB / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.249, allocations: 0 / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.2491, allocations: 36.78 kB / 439.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2493, allocations: 51.97 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.2507, allocations: 1.351 MB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2508, allocations: 11.97 kB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2508, 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.0001441/0.251, allocations: 137.8 kB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.251, allocations: 19.86 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.2511, allocations: 26.03 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2511, allocations: 4 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2511, allocations: 0 / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2511, allocations: 7.922 kB / 441.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000908/0.252, allocations: 0.561 MB / 441.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.252, allocations: 0 / 441.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.2522, allocations: 47.97 kB / 441.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.2523, allocations: 32.91 kB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2523, allocations: 4 kB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.2536, allocations: 1.362 MB / 443.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.2536, allocations: 3.938 kB / 443.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.2542, allocations: 406.3 kB / 443.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.2542, allocations: 23.8 kB / 443.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2542, allocations: 4 kB / 443.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2543, allocations: 4 kB / 443.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.2544, allocations: 23.91 kB / 443.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2544, allocations: 7.984 kB / 443.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2545, allocations: 127.2 kB / 443.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2545, allocations: 0 / 443.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.2549, allocations: 59.94 kB / 444 MB, free: 9.75 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.0001242/0.255, allocations: 99.25 kB / 444.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.2556, allocations: 293.9 kB / 444.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2556, allocations: 4 kB / 444.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.2559, allocations: 202.6 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.0004195/0.2563, allocations: 45.73 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.001237/0.2575, 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.0001469/0.2577, allocations: 138.4 kB / 445.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.2578, allocations: 25.92 kB / 445.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.2578, allocations: 23.44 kB / 445.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2578, allocations: 0 / 445.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of Templates: time 0.00678/0.2646, allocations: 2.781 MB / 448.2 MB, free: 5.422 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.516168010886759]