Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001059/0.001059, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001584/0.001584, allocations: 170.8 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.93/0.93, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.862e-05, allocations: 2.312 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003614/0.003632, allocations: 2.378 MB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004928, allocations: 0.6463 MB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.005069, allocations: 11.94 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.005205, allocations: 43.53 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.005393, allocations: 79.27 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.005622, allocations: 71.83 kB / 276.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.005924, allocations: 282.5 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.006094, allocations: 77.89 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.006363, allocations: 167.5 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.00651, allocations: 83.77 kB / 277.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.006548, allocations: 28 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.006612, allocations: 20 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.006656, allocations: 51.77 kB / 277.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.006746, allocations: 83.81 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.007007, allocations: 187.2 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.007009, allocations: 0 / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00701, allocations: 0 / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.007014, allocations: 0 / 277.6 MB, free: 13.12 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.00059/0.007604, allocations: 444.2 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.007641, allocations: 12.03 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.007791, allocations: 40.91 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.008024, allocations: 178 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.008044, allocations: 16.88 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.008085, allocations: 20.38 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.008313, allocations: 149.3 kB / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.00833, allocations: 4.188 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.008347, allocations: 8.375 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.008361, allocations: 19.92 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.008473, allocations: 55.45 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.009142, allocations: 394 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.009332, allocations: 117.2 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.00941, allocations: 48.83 kB / 279.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.009429, allocations: 11.94 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.009451, allocations: 30.56 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.009453, allocations: 0 / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001361/0.01081, allocations: 0.7352 MB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.01085, allocations: 59.39 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.01096, allocations: 158.6 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.01098, allocations: 29.7 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.01105, allocations: 140.7 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.01113, allocations: 115 kB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.01121, allocations: 53.69 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01131, allocations: 338.8 kB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.01136, allocations: 27.98 kB / 280.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.01144, allocations: 67.17 kB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.0116, allocations: 116 kB / 281 MB, free: 9.574 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0116, allocations: 4 kB / 281 MB, free: 9.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002695/0.01187, allocations: 167.4 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01188, allocations: 4 kB / 281.1 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01189, allocations: 7.984 kB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.01204, allocations: 48.75 kB / 281.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.01224, allocations: 55.97 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.01326, allocations: 1.438 MB / 282.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.425e-05/0.01336, allocations: 8 kB / 282.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01337, allocations: 4 kB / 282.7 MB, free: 7.75 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 0.0001043/0.01348, allocations: 133.8 kB / 282.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.01352, allocations: 19.98 kB / 282.8 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.01357, allocations: 30.64 kB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01357, allocations: 4 kB / 282.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.01358, allocations: 0 / 282.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01358, allocations: 0 / 282.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.01429, allocations: 492.8 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.01429, allocations: 0 / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.01456, allocations: 64.09 kB / 283.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.551e-05/0.01466, allocations: 28.81 kB / 283.4 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.01468, allocations: 15.94 kB / 283.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007707/0.01545, allocations: 1.229 MB / 284.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01545, allocations: 3.938 kB / 284.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.01581, allocations: 319.4 kB / 285 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.01584, allocations: 23.8 kB / 285 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01587, allocations: 11.98 kB / 285 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.01598, allocations: 4 kB / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.01603, allocations: 27.95 kB / 285.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.01604, allocations: 8 kB / 285.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.01609, allocations: 46.08 kB / 285.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01609, allocations: 0 / 285.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.01648, allocations: 64 kB / 285.2 MB, free: 5.07 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 0.000106/0.01659, allocations: 88.36 kB / 285.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01696, allocations: 256.4 kB / 285.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.01697, allocations: 4 kB / 285.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.01719, allocations: 216.1 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01751, allocations: 43.91 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.01857, allocations: 0.5706 MB / 286.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.298e-05/0.01864, allocations: 84.94 kB / 286.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.35e-05/0.01873, allocations: 22.28 kB / 286.5 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.01886, allocations: 95.36 kB / 286.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01886, allocations: 0 / 286.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of Templates: time 0.006649/0.02551, allocations: 2.906 MB / 289.5 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6701675141230226]