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.0014/0.0014, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001005/0.001005, allocations: 143.7 kB / 24.97 MB, free: 8.375 MB / 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.9533/0.9533, allocations: 173.4 MB / 201.5 MB, free: 9.352 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.442e-06/1.442e-06, allocations: 0 / 268.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.536e-05, allocations: 5.688 kB / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002473/0.002488, allocations: 2.388 MB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.003136, allocations: 0.5726 MB / 271 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.003226, allocations: 4 kB / 271 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.003348, allocations: 39.59 kB / 271.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.003447, allocations: 75.33 kB / 271.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.00361, allocations: 55.86 kB / 271.2 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.00381, allocations: 266.6 kB / 271.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.003936, allocations: 68.48 kB / 271.5 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.00408, allocations: 147.7 kB / 271.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.004174, allocations: 79.78 kB / 271.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.004202, allocations: 16 kB / 271.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.004223, allocations: 23.94 kB / 271.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.004256, allocations: 47.77 kB / 271.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.004321, allocations: 79.83 kB / 271.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.0045, allocations: 167.4 kB / 272.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004502, allocations: 0 / 272.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004502, allocations: 0 / 272.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004506, allocations: 0 / 272.1 MB, free: 2.723 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.000465/0.004971, allocations: 0.5391 MB / 272.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.005001, allocations: 8.031 kB / 272.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.00506, allocations: 52.69 kB / 272.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.005241, allocations: 176.9 kB / 272.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005254, allocations: 12.88 kB / 272.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.00529, allocations: 24.33 kB / 272.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.005503, allocations: 189.7 kB / 273.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.005515, allocations: 8.188 kB / 273.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.00553, allocations: 8.375 kB / 273.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.005538, allocations: 7.938 kB / 273.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.00565, allocations: 78.88 kB / 273.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.006259, allocations: 0.6685 MB / 273.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.006415, allocations: 122.6 kB / 273.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.006474, allocations: 43.67 kB / 274 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.006488, allocations: 7.938 kB / 274 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.006506, allocations: 37.39 kB / 274 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.006507, allocations: 0 / 274 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008696/0.007377, allocations: 0.6421 MB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.007403, allocations: 55.41 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.007518, allocations: 225.8 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007531, allocations: 29.7 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.007605, allocations: 195.1 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.007649, allocations: 91.17 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.007697, allocations: 55.36 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.007801, allocations: 0.5039 MB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.007849, allocations: 35.97 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.007923, allocations: 94.31 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.008056, allocations: 127 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008057, allocations: 0 / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002296/0.008287, allocations: 213 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.008301, allocations: 11.94 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.008305, allocations: 0 / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.008423, allocations: 35.66 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.008553, allocations: 47.91 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.0096, allocations: 1.815 MB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.00966, allocations: 8 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.009672, allocations: 12 kB / 278.2 MB, free: 12.13 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.521e-05/0.009757, allocations: 172.4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.009786, allocations: 23.91 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.009819, allocations: 29.95 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.00982, allocations: 0 / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009823, allocations: 4 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009827, allocations: 4.031 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.01033, allocations: 0.5618 MB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01033, allocations: 0 / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.01045, allocations: 47.92 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.989e-05/0.01053, allocations: 35.59 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01054, allocations: 4 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006979/0.01124, allocations: 1.818 MB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01124, allocations: 0 / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.01153, allocations: 393.4 kB / 281.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.01154, allocations: 15.91 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.01156, allocations: 15.92 kB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.01162, allocations: 12.03 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.01166, allocations: 11.97 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01167, allocations: 15.94 kB / 281.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.01173, allocations: 156.2 kB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.01193, allocations: 60 kB / 281.6 MB, free: 8.539 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 7.416e-05/0.01201, allocations: 107.2 kB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.01233, allocations: 309.4 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01233, allocations: 0 / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.01249, allocations: 261.3 kB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01274, allocations: 39.91 kB / 282.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.01357, allocations: 0.5799 MB / 282.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.644e-05/0.01362, allocations: 80.33 kB / 282.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.01367, allocations: 25.92 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.0137, allocations: 16.5 kB / 283 MB, free: 7.027 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.0137, allocations: 0 / 283 MB, free: 7.027 MB / 266.7 MB Notification: Performance of Templates: time 0.004127/0.01783, allocations: 2.499 MB / 285.5 MB, free: 4.562 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.6607605651952326]