Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009405/0.0009405, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009279/0.0009279, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8719/0.8719, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.469e-05, allocations: 5.125 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002603/0.002618, allocations: 2.391 MB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.003457, allocations: 0.6348 MB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.003555, allocations: 7.938 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003677, allocations: 35.59 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.003784, allocations: 83.28 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.004001, allocations: 67.83 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.004207, allocations: 266.6 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004314, allocations: 56.55 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.00449, allocations: 167.5 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.004587, allocations: 79.72 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.004611, allocations: 20 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.004661, allocations: 20 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.004687, allocations: 47.83 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.004744, allocations: 83.77 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.004948, allocations: 175.4 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.00495, allocations: 3.938 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004951, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004955, allocations: 0 / 277 MB, free: 13.34 MB / 266.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.0005141/0.005469, allocations: 0.5351 MB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.005504, allocations: 11.98 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.005635, allocations: 52.8 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.005838, allocations: 192.9 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.005854, allocations: 16.88 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.005887, allocations: 20.38 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.006107, allocations: 193.7 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.006122, allocations: 8.125 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.006136, allocations: 8.375 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.006147, allocations: 11.88 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.006256, allocations: 74.94 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.006873, allocations: 0.6763 MB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.007021, allocations: 114.1 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.007079, allocations: 51.64 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.007092, allocations: 4 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.007111, allocations: 37.39 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.007112, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008399/0.007952, allocations: 0.6549 MB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.007978, allocations: 59.41 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.008089, allocations: 221.9 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.008103, allocations: 29.7 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.008172, allocations: 191.1 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.008215, allocations: 83.23 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.008263, allocations: 51.36 kB / 280.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.008372, allocations: 0.5078 MB / 280.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.008661, allocations: 27.98 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.00873, allocations: 86.39 kB / 280.9 MB, free: 9.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.008865, allocations: 138.4 kB / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008866, allocations: 0 / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002249/0.009091, allocations: 212.9 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.009104, allocations: 11.94 kB / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.009108, allocations: 0 / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.009218, allocations: 35.78 kB / 281.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.00934, allocations: 55.91 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/0.01012, allocations: 1.799 MB / 283.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.01018, allocations: 8 kB / 283.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01019, allocations: 12 kB / 283.2 MB, free: 6.73 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.222e-05/0.01027, allocations: 176.5 kB / 283.3 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.0103, allocations: 27.86 kB / 283.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.01032, allocations: 25.95 kB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01033, allocations: 7.938 kB / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01033, allocations: 0 / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01033, allocations: 0 / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.0108, allocations: 0.5773 MB / 284 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.0108, allocations: 0 / 284 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.01092, allocations: 44.03 kB / 284 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/0.01099, allocations: 39.55 kB / 284.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.011, allocations: 8 kB / 284.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006797/0.01168, allocations: 1.807 MB / 285.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01168, allocations: 4.031 kB / 285.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.01196, allocations: 384.5 kB / 286.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.01198, allocations: 23.84 kB / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.012, allocations: 7.938 kB / 286.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.01205, allocations: 4 kB / 286.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.01209, allocations: 19.97 kB / 286.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.0121, allocations: 8 kB / 286.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.381e-05/0.01216, allocations: 172.7 kB / 286.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01216, allocations: 0 / 286.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000194/0.01235, allocations: 60 kB / 286.5 MB, free: 3.125 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 6.846e-05/0.01242, allocations: 99.19 kB / 286.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.01274, allocations: 308.9 kB / 286.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01274, allocations: 0 / 286.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.01289, allocations: 266.5 kB / 287.2 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01313, allocations: 51.89 kB / 287.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01416, allocations: 0.5914 MB / 287.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01421, allocations: 88.31 kB / 287.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.42e-05/0.01425, allocations: 17.95 kB / 287.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01429, allocations: 20.5 kB / 288 MB, free: 1.594 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01429, allocations: 0 / 288 MB, free: 1.594 MB / 266.7 MB Notification: Performance of Templates: time 0.004229/0.01852, allocations: 2.595 MB / 290.6 MB, free: 15.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.4844564171507955]