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.00105/0.00105, allocations: 85.95 kB / 23 MB, free: 1.504 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.00112/0.00112, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.848/0.848, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.192e-06/1.192e-06, allocations: 3.938 kB / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.25e-05, allocations: 6.25 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002284/0.002297, allocations: 2.366 MB / 254.6 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.003025, allocations: 0.6085 MB / 255.2 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.003124, allocations: 7.938 kB / 255.2 MB, free: 4.262 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.003236, allocations: 39.66 kB / 255.3 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.00334, allocations: 75.28 kB / 255.3 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.003482, allocations: 55.86 kB / 255.4 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.003678, allocations: 266.6 kB / 255.6 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003794, allocations: 56.56 kB / 255.7 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.003952, allocations: 155.6 kB / 255.9 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.004049, allocations: 79.72 kB / 255.9 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.004073, allocations: 24 kB / 256 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.004096, allocations: 20 kB / 256 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.004126, allocations: 43.83 kB / 256 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.004182, allocations: 83.77 kB / 256.1 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004341, allocations: 171.4 kB / 256.3 MB, free: 3.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004342, allocations: 0 / 256.3 MB, free: 3.211 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004343, allocations: 0 / 256.3 MB, free: 3.211 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004346, allocations: 0 / 256.3 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.0004307/0.004777, allocations: 0.535 MB / 256.8 MB, free: 2.641 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.004807, allocations: 15.98 kB / 256.8 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.004856, allocations: 44.8 kB / 256.9 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.005028, allocations: 180.9 kB / 257 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005041, allocations: 16.88 kB / 257.1 MB, free: 2.359 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.005069, allocations: 16.38 kB / 257.1 MB, free: 2.344 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.005254, allocations: 181.6 kB / 257.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.005266, allocations: 4.188 kB / 257.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.005279, allocations: 8.375 kB / 257.3 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.005288, allocations: 7.938 kB / 257.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.005364, allocations: 67.42 kB / 257.3 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.005939, allocations: 0.6378 MB / 258 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.006069, allocations: 122.5 kB / 258.1 MB, free: 1.262 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.006111, allocations: 39.67 kB / 258.1 MB, free: 1.219 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.006125, allocations: 3.984 kB / 258.1 MB, free: 1.215 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.006176, allocations: 37.39 kB / 258.2 MB, free: 1.168 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/0.006177, allocations: 3.938 kB / 258.2 MB, free: 1.164 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006778/0.006855, allocations: 0.579 MB / 258.8 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.006878, allocations: 55.41 kB / 258.8 MB, free: 464 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.006973, allocations: 221.8 kB / 259 MB, free: 224 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006986, allocations: 29.7 kB / 259.1 MB, free: 188 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.007067, allocations: 191.2 kB / 259.2 MB, free: 15.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.00711, allocations: 95.08 kB / 259.3 MB, free: 15.9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.007158, allocations: 51.34 kB / 259.4 MB, free: 15.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.00727, allocations: 0.5039 MB / 259.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.007301, allocations: 23.97 kB / 259.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.007357, allocations: 90.36 kB / 260 MB, free: 15.19 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.007457, allocations: 118.3 kB / 260.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007459, allocations: 0 / 260.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001872/0.007646, allocations: 185 kB / 260.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007659, allocations: 8 kB / 260.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.007663, allocations: 128 / 260.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.09e-05/0.007753, allocations: 43.59 kB / 260.3 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.00787, allocations: 47.91 kB / 260.4 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007332/0.008603, allocations: 1.78 MB / 262.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.008656, allocations: 8.141 kB / 262.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.008665, allocations: 8.031 kB / 262.2 MB, free: 12.84 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.574e-05/0.00874, allocations: 176.5 kB / 262.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.008773, allocations: 31.84 kB / 262.4 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.008798, allocations: 21.97 kB / 262.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.008799, allocations: 0 / 262.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.008802, allocations: 4 kB / 262.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.008806, allocations: 3.984 kB / 262.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.00924, allocations: 0.5389 MB / 263 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009241, allocations: 0 / 263 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.009351, allocations: 39.98 kB / 263 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.012e-05/0.009421, allocations: 35.66 kB / 263 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.00943, allocations: 4 kB / 263 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006511/0.01008, allocations: 1.776 MB / 264.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01008, allocations: 3.938 kB / 264.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.01032, allocations: 387.3 kB / 265.2 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.01037, allocations: 15.94 kB / 265.2 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.01039, allocations: 11.94 kB / 265.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.01045, allocations: 4 kB / 265.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.01048, allocations: 23.89 kB / 265.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.01049, allocations: 8 kB / 265.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.01054, allocations: 160.2 kB / 265.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01054, allocations: 0 / 265.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.01073, allocations: 60 kB / 265.5 MB, free: 9.348 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.876e-05/0.01081, allocations: 95.25 kB / 265.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.01107, allocations: 292.4 kB / 265.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01107, allocations: 0 / 265.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01122, allocations: 257.6 kB / 266.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.01146, allocations: 53.05 kB / 266.2 MB, free: 8.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.01218, allocations: 0.572 MB / 266.7 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.01223, allocations: 88.25 kB / 266.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.01227, allocations: 17.95 kB / 266.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.01236, allocations: 110.2 kB / 266.9 MB, free: 7.77 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01236, allocations: 0 / 266.9 MB, free: 7.77 MB / 250.7 MB Notification: Performance of Templates: time 0.003894/0.01625, allocations: 2.734 MB / 269.7 MB, free: 5.062 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.5929298670962453]