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.00113/0.00113, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001234/0.001234, allocations: 165.5 kB / 24.82 MB, free: 9.258 MB / 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.9742/0.9742, allocations: 177 MB / 205.1 MB, free: 5.48 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.542e-06/1.542e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.813e-05, allocations: 9.266 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003476/0.003504, allocations: 2.383 MB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004724, allocations: 0.6348 MB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.004888, allocations: 4 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.005026, allocations: 35.59 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.005181, allocations: 79.27 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.005425, allocations: 59.92 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.005686, allocations: 274.6 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.005831, allocations: 60.53 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.006094, allocations: 163.5 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.006215, allocations: 83.72 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.006245, allocations: 20 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.006304, allocations: 20 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.006338, allocations: 47.83 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.006406, allocations: 75.83 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.006638, allocations: 179.2 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.00664, allocations: 8 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.006641, allocations: 0 / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.006646, allocations: 0 / 277.4 MB, free: 13.11 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.0007782/0.007424, allocations: 0.5351 MB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.007462, allocations: 11.98 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.00761, allocations: 48.78 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.007814, allocations: 188.9 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.00783, allocations: 20.81 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.007863, allocations: 24.38 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.008095, allocations: 177.7 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.008109, allocations: 4.141 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.008124, allocations: 8.375 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.008132, allocations: 7.938 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.008475, allocations: 67.42 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.009151, allocations: 0.6339 MB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.009307, allocations: 118.1 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.009359, allocations: 39.66 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.009378, allocations: 4 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.0094, allocations: 37.39 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.009402, allocations: 0 / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008696/0.01027, allocations: 0.5877 MB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.0103, allocations: 59.41 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.01043, allocations: 225.8 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.01044, allocations: 33.7 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.01053, allocations: 183.2 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.01059, allocations: 99.14 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.01065, allocations: 55.34 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01078, allocations: 0.5039 MB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.01082, allocations: 27.97 kB / 281.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.0109, allocations: 74.39 kB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.01103, allocations: 122.4 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01103, allocations: 4 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002576/0.01129, allocations: 189 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01131, allocations: 11.98 kB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01131, allocations: 0 / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.01143, allocations: 31.61 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01158, allocations: 56.03 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009423/0.01252, allocations: 1.784 MB / 283.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.0126, allocations: 15.97 kB / 283.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01262, allocations: 4 kB / 283.4 MB, free: 6.723 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 9.537e-05/0.01271, allocations: 172.5 kB / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.01275, allocations: 27.84 kB / 283.6 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.01279, allocations: 29.98 kB / 283.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01279, allocations: 4 kB / 283.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01279, allocations: 0 / 283.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.0128, allocations: 0 / 283.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.01337, allocations: 0.5311 MB / 284.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01337, allocations: 0 / 284.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.01351, allocations: 47.91 kB / 284.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.989e-05/0.0136, allocations: 31.73 kB / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01362, allocations: 4 kB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.01473, allocations: 1.776 MB / 286 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01473, allocations: 0 / 286 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.01506, allocations: 388.3 kB / 286.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.01508, allocations: 15.89 kB / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.0151, allocations: 15.98 kB / 286.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.01518, allocations: 4 kB / 286.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.01523, allocations: 19.91 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01524, allocations: 8 kB / 286.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.774e-05/0.0153, allocations: 164.7 kB / 286.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0153, allocations: 0 / 286.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.01561, allocations: 60 kB / 286.6 MB, free: 3.23 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 9.531e-05/0.0157, allocations: 103.2 kB / 286.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.01603, allocations: 300.7 kB / 287 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01603, allocations: 7.938 kB / 287.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.01621, allocations: 246.2 kB / 287.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.01655, allocations: 48.27 kB / 287.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009642/0.01751, allocations: 0.5874 MB / 287.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.984e-05/0.01757, allocations: 84.27 kB / 288 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.01764, allocations: 29.92 kB / 288 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.01775, allocations: 106.2 kB / 288.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01776, allocations: 0 / 288.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of Templates: time 0.005358/0.02311, allocations: 2.671 MB / 290.8 MB, free: 15 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.5515967747196555]