Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007223/0.0007223, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009691/0.001691, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006166/0.0006166, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009805/0.001597, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9127/0.9127, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08555/0.9982, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.561e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003293/0.003308, allocations: 2.41 MB / 242 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.004139, allocations: 0.5919 MB / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.004247, allocations: 7.938 kB / 242.6 MB, free: 156 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-05/0.004345, allocations: 35.66 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.00457, allocations: 83.2 kB / 242.7 MB, free: 36 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.004717, allocations: 59.91 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.004994, allocations: 282.5 kB / 243 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.005158, allocations: 77.91 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.005398, allocations: 187.5 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.005542, allocations: 83.77 kB / 243.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.005585, allocations: 20 kB / 243.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.005622, allocations: 20 kB / 243.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.005662, allocations: 39.81 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.005748, allocations: 71.88 kB / 243.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.005986, allocations: 159.4 kB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.006002, allocations: 4 kB / 243.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006003, allocations: 0 / 243.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.00602, allocations: 4 kB / 243.7 MB, free: 15.04 MB / 250.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.0006521/0.006672, allocations: 479.9 kB / 244.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.006708, allocations: 12.03 kB / 244.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.006772, allocations: 36.91 kB / 244.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.006981, allocations: 158.1 kB / 244.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.006999, allocations: 20.88 kB / 244.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.007039, allocations: 24.33 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.00738, allocations: 157.3 kB / 244.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.0074, allocations: 4.188 kB / 244.5 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.007417, allocations: 8.375 kB / 244.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.007427, allocations: 15.88 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.007539, allocations: 55.45 kB / 244.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.008165, allocations: 386.1 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.008342, allocations: 123.7 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.008422, allocations: 48.83 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.008439, allocations: 8 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.008465, allocations: 42.5 kB / 245.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.886e-06/0.008468, allocations: 3.984 kB / 245.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001341/0.009809, allocations: 0.7063 MB / 245.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.00984, allocations: 55.41 kB / 246 MB, free: 12.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.009958, allocations: 171.5 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.009976, allocations: 29.7 kB / 246.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.01004, allocations: 136.7 kB / 246.3 MB, free: 12.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.01011, allocations: 122.9 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.01018, allocations: 57.67 kB / 246.5 MB, free: 12.03 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.01027, allocations: 334.8 kB / 246.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.01033, allocations: 23.98 kB / 246.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.0104, allocations: 70.31 kB / 246.9 MB, free: 11.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01055, allocations: 116 kB / 247 MB, free: 11.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01055, allocations: 0 / 247 MB, free: 11.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002564/0.01081, allocations: 175.4 kB / 247.2 MB, free: 11.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01082, allocations: 12.06 kB / 247.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01083, allocations: 0 / 247.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.01096, allocations: 40.77 kB / 247.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.01121, allocations: 66.91 kB / 247.3 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.01242, allocations: 1.434 MB / 248.7 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.01251, allocations: 12 kB / 248.7 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01252, allocations: 12 kB / 248.8 MB, free: 9.629 MB / 250.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 8.994e-05/0.01261, allocations: 125.7 kB / 248.9 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.01266, allocations: 23.97 kB / 248.9 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.0127, allocations: 26.66 kB / 248.9 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.0127, allocations: 4 kB / 248.9 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.0127, allocations: 0 / 248.9 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01271, allocations: 3.984 kB / 248.9 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.01336, allocations: 0.493 MB / 249.4 MB, free: 8.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01336, allocations: 0 / 249.4 MB, free: 8.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.01359, allocations: 67.89 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.01361, allocations: 19.86 kB / 249.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.06e-05/0.0137, allocations: 36.92 kB / 249.5 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01372, allocations: 4 kB / 249.6 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007452/0.01446, allocations: 1.233 MB / 250.8 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01447, allocations: 4 kB / 250.8 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.01479, allocations: 326.9 kB / 251.1 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.01482, allocations: 12.03 kB / 251.1 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01492, allocations: 8 kB / 251.1 MB, free: 7.086 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.01496, allocations: 27.89 kB / 251.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01497, allocations: 4 kB / 251.2 MB, free: 7.055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.01502, allocations: 44.8 kB / 251.2 MB, free: 7.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01502, allocations: 3.938 kB / 251.2 MB, free: 7.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.01534, allocations: 64 kB / 251.3 MB, free: 6.941 MB / 250.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 9.088e-05/0.01543, allocations: 95.78 kB / 251.4 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.01577, allocations: 267.5 kB / 251.6 MB, free: 6.566 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.01578, allocations: 0 / 251.6 MB, free: 6.566 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.01597, allocations: 211.2 kB / 251.8 MB, free: 6.344 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.01627, allocations: 79.44 kB / 251.9 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.02146, allocations: 0.5506 MB / 252.5 MB, free: 5.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.925e-05/0.02153, allocations: 92.69 kB / 252.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.845e-05/0.02161, allocations: 22.47 kB / 252.6 MB, free: 5.547 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.02174, allocations: 95.28 kB / 252.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02174, allocations: 0 / 252.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of Templates: time 0.006387/0.02812, allocations: 3 MB / 255.7 MB, free: 2.504 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.518063253723085]