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.001181/0.001181, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001829/0.003011, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007362/0.0007362, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009304/0.001667, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.899/0.899, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08767/0.9867, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.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: 7.938 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.716e-05, allocations: 6.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002586/0.002603, allocations: 2.408 MB / 242 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.003299, allocations: 0.588 MB / 242.5 MB, free: 168 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.003376, allocations: 11.94 kB / 242.6 MB, free: 156 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.003434, allocations: 35.66 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.003523, allocations: 75.28 kB / 242.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.019e-05/0.003613, allocations: 59.84 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.00378, allocations: 266.6 kB / 243 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.003868, allocations: 70.41 kB / 243.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.004009, allocations: 171.6 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.004088, allocations: 79.78 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.004111, allocations: 20 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.004129, allocations: 16 kB / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.004154, allocations: 39.81 kB / 243.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.004203, allocations: 67.88 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.00435, allocations: 151.4 kB / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.004357, allocations: 0 / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004358, allocations: 0 / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.004365, allocations: 4 kB / 243.6 MB, free: 15.11 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.0003545/0.00472, allocations: 472 kB / 244.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.064e-05/0.00474, allocations: 8.031 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.004773, allocations: 32.91 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.004905, allocations: 166.1 kB / 244.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.004916, allocations: 12.88 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.004936, allocations: 28.31 kB / 244.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.005073, allocations: 176 kB / 244.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005082, allocations: 8.125 kB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005091, allocations: 8.375 kB / 244.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005096, allocations: 7.938 kB / 244.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.005156, allocations: 67.39 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.005886, allocations: 470.5 kB / 245 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.005993, allocations: 94.47 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.006029, allocations: 32.84 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.006042, allocations: 4 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.00606, allocations: 34.56 kB / 245.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.006062, allocations: 3.984 kB / 245.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007014/0.006763, allocations: 0.5679 MB / 245.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.006786, allocations: 55.41 kB / 245.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.006869, allocations: 166.5 kB / 246 MB, free: 12.55 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.006881, allocations: 29.7 kB / 246 MB, free: 12.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.006929, allocations: 140.4 kB / 246.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.006968, allocations: 91.19 kB / 246.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.00701, allocations: 53.64 kB / 246.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.007087, allocations: 338.7 kB / 246.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.007109, allocations: 16 kB / 246.6 MB, free: 11.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.007156, allocations: 68.19 kB / 246.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.007252, allocations: 108 kB / 246.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007253, allocations: 4 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001448/0.007398, allocations: 158.9 kB / 247 MB, free: 11.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.007407, allocations: 4 kB / 247 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007412, allocations: 4 kB / 247 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.858e-05/0.007501, allocations: 36.77 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.007638, allocations: 55.91 kB / 247.1 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.008272, allocations: 1.237 MB / 248.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.00832, allocations: 8 kB / 248.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.008327, allocations: 4 kB / 248.3 MB, free: 10.06 MB / 250.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 6.03e-05/0.008388, allocations: 121.8 kB / 248.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.008412, allocations: 27.91 kB / 248.4 MB, free: 9.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.008437, allocations: 29.94 kB / 248.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.008438, allocations: 0 / 248.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.00844, allocations: 0 / 248.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008444, allocations: 7.984 kB / 248.5 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.008787, allocations: 408.2 kB / 248.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008789, allocations: 0 / 248.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.008906, allocations: 51.91 kB / 248.9 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.008922, allocations: 23.84 kB / 249 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.928e-05/0.008981, allocations: 24.91 kB / 249 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.008991, allocations: 11.98 kB / 249 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005547/0.009545, allocations: 1.229 MB / 250.2 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009547, allocations: 4 kB / 250.2 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.009736, allocations: 288.1 kB / 250.5 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.009751, allocations: 8 kB / 250.5 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.009804, allocations: 4 kB / 250.5 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.009834, allocations: 23.95 kB / 250.5 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.009839, allocations: 4 kB / 250.5 MB, free: 7.656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.888e-05/0.009868, allocations: 41.81 kB / 250.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009868, allocations: 0 / 250.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.01003, allocations: 60 kB / 250.6 MB, free: 7.555 MB / 250.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 6.819e-05/0.0101, allocations: 88.36 kB / 250.7 MB, free: 7.457 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01032, allocations: 243.1 kB / 251 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.01032, allocations: 4 kB / 251 MB, free: 7.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01044, allocations: 186.4 kB / 251.2 MB, free: 7.004 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01063, allocations: 67.14 kB / 251.2 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.01361, allocations: 0.5136 MB / 251.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01365, allocations: 84.31 kB / 251.8 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.0137, allocations: 17.95 kB / 251.8 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.01378, allocations: 87.34 kB / 251.9 MB, free: 6.191 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01378, allocations: 0 / 251.9 MB, free: 6.191 MB / 250.7 MB Notification: Performance of Templates: time 0.0072/0.02098, allocations: 2.772 MB / 254.7 MB, free: 3.469 MB / 250.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 -ignoreHideResult -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.3638981925323606]