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.0008111/0.0008111, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003259/0.003259, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8399/0.8399, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.422e-06/1.422e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.373e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00234/0.002364, allocations: 2.261 MB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.003206, allocations: 0.6231 MB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.003318, allocations: 4 kB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003447, allocations: 43.53 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.003558, allocations: 79.27 kB / 328.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.003794, allocations: 59.91 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.00401, allocations: 270.6 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.004151, allocations: 64.5 kB / 329.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.004358, allocations: 163.5 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.004458, allocations: 75.73 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.004485, allocations: 20 kB / 329.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.997e-05/0.004535, allocations: 20 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.004566, allocations: 51.81 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.004625, allocations: 83.77 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.004871, allocations: 247.2 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004873, allocations: 0 / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.004874, allocations: 0 / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004879, allocations: 0 / 329.9 MB, free: 11.38 MB / 298.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.0005585/0.005438, allocations: 461.6 kB / 330.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.005476, allocations: 12.03 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.005599, allocations: 32.78 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.005844, allocations: 178.1 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.005859, allocations: 16.88 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.005898, allocations: 20.38 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.006169, allocations: 215.3 kB / 330.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.006186, allocations: 4.188 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.006205, allocations: 8.375 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.006214, allocations: 7.938 kB / 330.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.00638, allocations: 129.9 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.007059, allocations: 0.5807 MB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.007266, allocations: 150.3 kB / 331.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.007348, allocations: 72.75 kB / 331.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007367, allocations: 4 kB / 331.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.00739, allocations: 34.56 kB / 331.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.007392, allocations: 0 / 331.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001071/0.008463, allocations: 0.7318 MB / 332.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.008504, allocations: 55.41 kB / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.008631, allocations: 163 kB / 332.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.008647, allocations: 33.7 kB / 332.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.008719, allocations: 152.4 kB / 332.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.008762, allocations: 87.17 kB / 333 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.008812, allocations: 49.69 kB / 333 MB, free: 8.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.008903, allocations: 338.8 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.008977, allocations: 51.97 kB / 333.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.009066, allocations: 101.3 kB / 333.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.009246, allocations: 172.7 kB / 333.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009247, allocations: 0 / 333.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002734/0.009521, allocations: 254.1 kB / 333.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.009536, allocations: 11.94 kB / 333.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.009542, allocations: 0 / 333.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.009666, allocations: 28.97 kB / 334 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.009804, allocations: 55.91 kB / 334 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/0.01064, allocations: 1.347 MB / 335.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.0107, allocations: 12.03 kB / 335.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01072, allocations: 4 kB / 335.4 MB, free: 5.492 MB / 298.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 9.512e-05/0.01081, allocations: 149.7 kB / 335.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.01083, allocations: 24 kB / 335.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.01086, allocations: 25.95 kB / 335.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01086, allocations: 0 / 335.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01087, allocations: 4 kB / 335.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01087, allocations: 3.984 kB / 335.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.01141, allocations: 0.5616 MB / 336.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01142, allocations: 0 / 336.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01153, allocations: 51.97 kB / 336.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.168e-05/0.0116, allocations: 36.78 kB / 336.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01161, allocations: 4 kB / 336.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006945/0.01231, allocations: 1.35 MB / 337.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01231, allocations: 4.031 kB / 337.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.01266, allocations: 406.1 kB / 338 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.01267, allocations: 15.86 kB / 338 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01269, allocations: 11.94 kB / 338 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.01274, allocations: 8 kB / 338 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.01279, allocations: 16.2 kB / 338 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01279, allocations: 19.92 kB / 338 MB, free: 2.633 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.01286, allocations: 119.2 kB / 338.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01286, allocations: 0 / 338.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01307, allocations: 60 kB / 338.2 MB, free: 2.457 MB / 298.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 0.0001037/0.01317, allocations: 111.2 kB / 338.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.01354, allocations: 278.5 kB / 338.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01354, allocations: 0 / 338.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.0137, allocations: 206.9 kB / 338.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01397, allocations: 50.05 kB / 338.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.0147, allocations: 0.5986 MB / 339.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.433e-05/0.01479, allocations: 142.3 kB / 339.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.01483, allocations: 20.5 kB / 339.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01483, allocations: 0 / 339.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of Templates: time 0.003681/0.01851, allocations: 3.617 MB / 343.2 MB, free: 13.36 MB / 314.7 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.333129517734051]