Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.0009482/0.0009482, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009735/0.0009735, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9118/0.9118, allocations: 177 MB / 205.2 MB, free: 5.047 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.496e-05, allocations: 5.266 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002901/0.002926, allocations: 2.425 MB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.003855, allocations: 0.6502 MB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.00397, allocations: 7.938 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.004101, allocations: 39.53 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.004249, allocations: 87.27 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.004459, allocations: 67.84 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.004691, allocations: 282.5 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.004826, allocations: 77.89 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.005025, allocations: 167.5 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005132, allocations: 83.78 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.005157, allocations: 20 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.005218, allocations: 31.92 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.005249, allocations: 55.75 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.005313, allocations: 83.83 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.005511, allocations: 179.3 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005515, allocations: 0 / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005516, allocations: 0 / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.00552, allocations: 0 / 277.7 MB, free: 12.76 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004217/0.005942, allocations: 440.2 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.005971, allocations: 11.98 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.006081, allocations: 48.84 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.006261, allocations: 174.1 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006275, allocations: 20.88 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.006302, allocations: 20.38 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.00646, allocations: 149.3 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.006473, allocations: 4.172 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.006485, allocations: 8.375 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.006495, allocations: 15.92 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.006567, allocations: 55.41 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.007048, allocations: 394.1 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.00718, allocations: 118.4 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.007241, allocations: 52.83 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.007256, allocations: 4 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.007276, allocations: 38.5 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.007277, allocations: 0 / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009288/0.008206, allocations: 0.7209 MB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.008233, allocations: 59.41 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.008318, allocations: 159.4 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.008332, allocations: 29.7 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.008384, allocations: 136.7 kB / 280.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.008435, allocations: 115 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.008484, allocations: 57.67 kB / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.00856, allocations: 338.8 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.008593, allocations: 27.98 kB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.008642, allocations: 62.58 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.008745, allocations: 128 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.008746, allocations: 0 / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001764/0.008923, allocations: 171.3 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.008935, allocations: 8 kB / 281.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.00894, allocations: 3.984 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/0.009044, allocations: 36.78 kB / 281.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.009199, allocations: 67.95 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007418/0.009941, allocations: 1.43 MB / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.009993, allocations: 8 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01, allocations: 11.98 kB / 282.7 MB, free: 7.391 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.01008, allocations: 133.8 kB / 282.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.01011, allocations: 19.98 kB / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.01014, allocations: 30.64 kB / 282.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01014, allocations: 4 kB / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01015, allocations: 0 / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.01015, allocations: 0 / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.01059, allocations: 497 kB / 283.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.0106, allocations: 96 / 283.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.01074, allocations: 71.91 kB / 283.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.0108, allocations: 24.83 kB / 283.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01081, allocations: 8.188 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005734/0.01139, allocations: 1.241 MB / 284.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01139, allocations: 3.984 kB / 284.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.01164, allocations: 331.3 kB / 285.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01165, allocations: 15.86 kB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.01167, allocations: 8 kB / 285.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.01172, allocations: 8 kB / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.01176, allocations: 23.95 kB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.01177, allocations: 8 kB / 285.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.966e-05/0.0118, allocations: 40.75 kB / 285.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.0118, allocations: 8.031 kB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.012, allocations: 68 kB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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 8.083e-05/0.01208, allocations: 76.42 kB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.01234, allocations: 256.4 kB / 285.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01234, allocations: 0 / 285.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01249, allocations: 228.5 kB / 285.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.01269, allocations: 58.78 kB / 285.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.01343, allocations: 0.5711 MB / 286.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.01348, allocations: 88.92 kB / 286.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.439e-05/0.01354, allocations: 22.28 kB / 286.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.01363, allocations: 87.36 kB / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01363, allocations: 8 kB / 286.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of Templates: time 0.004276/0.01791, allocations: 2.921 MB / 289.5 MB, free: 360 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.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.4839537367224693]