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.0009127/0.0009127, allocations: 87.89 kB / 21.19 MB, free: 3.375 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.001355/0.001355, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 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.906/0.906, allocations: 173.4 MB / 201.2 MB, free: 9.328 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.643e-06/1.643e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.507e-05, allocations: 6.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003024/0.003049, allocations: 2.388 MB / 270.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.003999, allocations: 0.5726 MB / 271 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.004136, allocations: 7.938 kB / 271 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.004275, allocations: 31.66 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.004407, allocations: 79.27 kB / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.004615, allocations: 59.92 kB / 271.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.004869, allocations: 266.6 kB / 271.4 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.005024, allocations: 60.48 kB / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.00523, allocations: 155.6 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.005342, allocations: 79.78 kB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.005374, allocations: 16 kB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.005399, allocations: 20 kB / 271.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.005432, allocations: 43.83 kB / 271.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.13e-05/0.005513, allocations: 83.77 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.005713, allocations: 163.4 kB / 272 MB, free: 2.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005715, allocations: 4 kB / 272 MB, free: 2.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005716, allocations: 0 / 272 MB, free: 2.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005721, allocations: 0 / 272 MB, free: 2.398 MB / 250.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.0005086/0.006229, allocations: 0.5429 MB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.006265, allocations: 8.031 kB / 272.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.006329, allocations: 44.75 kB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.006538, allocations: 177 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.006552, allocations: 12.88 kB / 272.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.006586, allocations: 28.33 kB / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.006826, allocations: 193.7 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.006838, allocations: 192 / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.006856, allocations: 16.31 kB / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.006865, allocations: 7.938 kB / 273 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.006975, allocations: 74.94 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.007653, allocations: 0.6646 MB / 273.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.007816, allocations: 122.9 kB / 273.9 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.007877, allocations: 47.67 kB / 273.9 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.007893, allocations: 4 kB / 273.9 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.007913, allocations: 33.39 kB / 274 MB, free: 292 kB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/0.007915, allocations: 3.984 kB / 274 MB, free: 288 kB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009862/0.008902, allocations: 0.6435 MB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.00893, allocations: 59.34 kB / 274.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.009052, allocations: 225.8 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.009065, allocations: 33.7 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.009143, allocations: 187.1 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.00919, allocations: 95.17 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.009244, allocations: 51.36 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.009358, allocations: 0.5039 MB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.009414, allocations: 35.97 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.009487, allocations: 94.38 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.00989, allocations: 127 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009891, allocations: 4 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002413/0.01013, allocations: 209 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01015, allocations: 7.938 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01015, allocations: 4 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.01028, allocations: 35.59 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.01042, allocations: 47.97 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008372/0.01125, allocations: 1.811 MB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.01132, allocations: 8 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.01134, allocations: 4 kB / 278.1 MB, free: 11.82 MB / 266.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.296e-05/0.01142, allocations: 172.5 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.01145, allocations: 28.05 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.01148, allocations: 37.97 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01148, allocations: 0 / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01149, allocations: 4 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01149, allocations: 3.938 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.012, allocations: 0.5656 MB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.012, allocations: 0 / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.01212, allocations: 39.98 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.438e-05/0.01221, allocations: 43.66 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01222, allocations: 4 kB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007177/0.01294, allocations: 1.81 MB / 280.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01294, allocations: 3.938 kB / 280.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.01324, allocations: 398.1 kB / 281.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01326, allocations: 16.08 kB / 281.2 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01327, allocations: 15.94 kB / 281.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.01334, allocations: 8 kB / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.01338, allocations: 15.95 kB / 281.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.01339, allocations: 12 kB / 281.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.01345, allocations: 160.1 kB / 281.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01345, allocations: 0 / 281.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.01366, allocations: 60 kB / 281.5 MB, free: 8.211 MB / 266.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.768e-05/0.01375, allocations: 111.1 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.01409, allocations: 297.4 kB / 281.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01409, allocations: 0 / 281.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.01425, allocations: 269.3 kB / 282.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.01452, allocations: 40.34 kB / 282.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.01543, allocations: 0.5719 MB / 282.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.192e-05/0.01548, allocations: 80.33 kB / 282.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.01553, allocations: 25.94 kB / 282.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.01557, allocations: 16.5 kB / 282.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01557, allocations: 0 / 282.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of Templates: time 0.004735/0.02031, allocations: 2.614 MB / 285.5 MB, free: 4.133 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] 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","",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.6225531809031963]