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.001931/0.001931, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001994/0.001994, allocations: 156.8 kB / 24.27 MB, free: 160 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 1.663/1.663, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.063e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004159/0.00419, allocations: 2.378 MB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.00574, allocations: 0.6232 MB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.005869, allocations: 7.938 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.00603, allocations: 35.59 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.006207, allocations: 79.28 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.006472, allocations: 67.89 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.006829, allocations: 262.6 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.007001, allocations: 64.53 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.007303, allocations: 163.5 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.007455, allocations: 71.78 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.007506, allocations: 20 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.007586, allocations: 31.92 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.007635, allocations: 39.84 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.007747, allocations: 87.77 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.00813, allocations: 259.1 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.008133, allocations: 0 / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008134, allocations: 0 / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.00814, allocations: 0 / 276.4 MB, free: 13.64 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.0008563/0.008997, allocations: 0.5504 MB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.009039, allocations: 15.98 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.009221, allocations: 44.78 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.009534, allocations: 192.9 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.009554, allocations: 16.81 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.0096, allocations: 20.38 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.009996, allocations: 225 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.01001, allocations: 4.172 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.01004, allocations: 12.38 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01005, allocations: 7.938 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.01032, allocations: 121.9 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01155, allocations: 0.7388 MB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.01184, allocations: 143 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.01198, allocations: 71.64 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.01201, allocations: 4 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.01204, allocations: 33.39 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/0.01204, allocations: 0 / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001664/0.0137, allocations: 0.7608 MB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.01375, allocations: 55.41 kB / 279.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.014, allocations: 237.9 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01402, allocations: 33.7 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.01418, allocations: 195.1 kB / 279.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.01427, allocations: 91.22 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01437, allocations: 59.36 kB / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.01466, allocations: 0.5079 MB / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.01479, allocations: 55.97 kB / 280.5 MB, free: 9.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.01497, allocations: 114.4 kB / 280.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.01531, allocations: 194.3 kB / 280.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01531, allocations: 0 / 280.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005115/0.01582, allocations: 264.9 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.01584, allocations: 7.938 kB / 281.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01585, allocations: 4.125 kB / 281.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.01604, allocations: 39.66 kB / 281.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.01627, allocations: 51.92 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.01835, allocations: 1.881 MB / 283.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01847, allocations: 8 kB / 283.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01849, allocations: 12.02 kB / 283.1 MB, free: 6.469 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 0.0001895/0.01868, allocations: 192.4 kB / 283.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.01874, allocations: 23.86 kB / 283.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.0188, allocations: 25.97 kB / 283.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.01881, allocations: 4 kB / 283.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01881, allocations: 0 / 283.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.01882, allocations: 3.984 kB / 283.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.0199, allocations: 0.6516 MB / 284 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.01991, allocations: 0 / 284 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.02014, allocations: 51.92 kB / 284 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.02029, allocations: 39.59 kB / 284.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.02031, allocations: 8 kB / 284.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.02206, allocations: 1.885 MB / 286 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02206, allocations: 0 / 286 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.02277, allocations: 466.4 kB / 286.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.0228, allocations: 15.86 kB / 286.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.02283, allocations: 11.94 kB / 286.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.02295, allocations: 4 kB / 286.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.02301, allocations: 23.95 kB / 286.5 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02302, allocations: 8.031 kB / 286.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.02319, allocations: 176.7 kB / 286.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02319, allocations: 0 / 286.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.02353, allocations: 60 kB / 286.7 MB, free: 2.613 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 0.0001405/0.02367, allocations: 103.2 kB / 286.8 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.02435, allocations: 358.4 kB / 287.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02435, allocations: 4.062 kB / 287.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.02475, allocations: 281.3 kB / 287.4 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.02518, allocations: 43.95 kB / 287.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.02646, allocations: 0.6072 MB / 288.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.02662, allocations: 134.2 kB / 288.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.0267, allocations: 17.94 kB / 288.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.02675, allocations: 20.5 kB / 288.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02675, allocations: 7.938 kB / 288.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of Templates: time 0.007387/0.03414, allocations: 2.489 MB / 290.7 MB, free: 14.49 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.52196688496042]