Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008861/0.0008861, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001237/0.001237, allocations: 171.4 kB / 25.7 MB, free: 8.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9134/0.9134, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.858e-05, allocations: 6.25 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00242/0.002439, allocations: 2.358 MB / 253.9 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.003238, allocations: 0.6356 MB / 254.5 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.003338, allocations: 4 kB / 254.5 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.003485, allocations: 39.59 kB / 254.6 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.003613, allocations: 83.27 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.003802, allocations: 51.92 kB / 254.7 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.004004, allocations: 262.6 kB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.004129, allocations: 66.45 kB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.004288, allocations: 155.6 kB / 255.2 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.004389, allocations: 79.73 kB / 255.2 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.004417, allocations: 16 kB / 255.2 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.004439, allocations: 20 kB / 255.3 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.004473, allocations: 47.83 kB / 255.3 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.004532, allocations: 87.75 kB / 255.4 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004705, allocations: 167.4 kB / 255.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004707, allocations: 0 / 255.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004707, allocations: 0 / 255.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004711, allocations: 0 / 255.6 MB, free: 3.211 MB / 234.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.0004132/0.005124, allocations: 420.2 kB / 256 MB, free: 2.777 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.005154, allocations: 11.98 kB / 256 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.005206, allocations: 36.91 kB / 256 MB, free: 2.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.005355, allocations: 162.2 kB / 256.2 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.00537, allocations: 20.88 kB / 256.2 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.005412, allocations: 28.31 kB / 256.2 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005582, allocations: 172 kB / 256.4 MB, free: 2.312 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.005593, allocations: 4.188 kB / 256.4 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005606, allocations: 8.375 kB / 256.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005613, allocations: 7.938 kB / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.005683, allocations: 55.41 kB / 256.5 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.006221, allocations: 490.4 kB / 257 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.006339, allocations: 93.33 kB / 257 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.006377, allocations: 36.84 kB / 257.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.006391, allocations: 11.88 kB / 257.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.006409, allocations: 34.56 kB / 257.1 MB, free: 1.547 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.00641, allocations: 0 / 257.1 MB, free: 1.547 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007777/0.007187, allocations: 0.5638 MB / 257.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.007212, allocations: 51.41 kB / 257.7 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.007297, allocations: 162.6 kB / 257.9 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.00731, allocations: 29.7 kB / 257.9 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.007358, allocations: 136.4 kB / 258.1 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.0074, allocations: 103.1 kB / 258.2 MB, free: 428 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.007445, allocations: 45.69 kB / 258.2 MB, free: 376 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.007523, allocations: 338.7 kB / 258.5 MB, free: 28 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.007547, allocations: 20 kB / 258.6 MB, free: 8 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.007611, allocations: 64.25 kB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.007701, allocations: 104.1 kB / 258.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007703, allocations: 0 / 258.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001562/0.007859, allocations: 154.3 kB / 258.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.007873, allocations: 12.12 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007877, allocations: 0 / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.954e-05/0.007977, allocations: 36.75 kB / 258.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.008087, allocations: 47.92 kB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006771/0.008764, allocations: 1.214 MB / 260.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.008818, allocations: 12.03 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.008828, allocations: 8 kB / 260.2 MB, free: 14.23 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 7.358e-05/0.008901, allocations: 125.8 kB / 260.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.008925, allocations: 19.92 kB / 260.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.00895, allocations: 25.97 kB / 260.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008953, allocations: 8 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.008955, allocations: 0 / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.008959, allocations: 3.984 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.009397, allocations: 428.1 kB / 260.8 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.0094, allocations: 0 / 260.8 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.00951, allocations: 39.98 kB / 260.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.911e-05/0.009579, allocations: 28.83 kB / 260.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.009589, allocations: 11.94 kB / 260.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.01012, allocations: 1.222 MB / 262.1 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01012, allocations: 0 / 262.1 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.01033, allocations: 286.5 kB / 262.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01034, allocations: 19.8 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.01036, allocations: 8 kB / 262.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.01041, allocations: 11.98 kB / 262.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.01044, allocations: 15.91 kB / 262.4 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01045, allocations: 12.03 kB / 262.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.01048, allocations: 45.81 kB / 262.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01048, allocations: 0 / 262.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.01065, allocations: 56 kB / 262.5 MB, free: 11.72 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 7.237e-05/0.01073, allocations: 84.36 kB / 262.6 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.01111, allocations: 238.4 kB / 262.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01111, allocations: 4.25 kB / 262.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.01124, allocations: 195.3 kB / 263 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.01143, allocations: 39.97 kB / 263.1 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.01214, allocations: 0.518 MB / 263.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01219, allocations: 88.27 kB / 263.7 MB, free: 10.47 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.01224, allocations: 21.94 kB / 263.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.01232, allocations: 83.36 kB / 263.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01232, allocations: 0 / 263.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of Templates: time 0.004056/0.01637, allocations: 2.658 MB / 266.5 MB, free: 7.738 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.536931342910975]