Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001363/0.001363, allocations: 84.06 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001468/0.001468, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 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.9094/0.9094, allocations: 173.3 MB / 201.1 MB, free: 9.289 MB / 186.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.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.682e-05, allocations: 6.25 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002071/0.002088, allocations: 2.259 MB / 270.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003306/0.002418, allocations: 191.3 kB / 270.4 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.002487, allocations: 4 kB / 270.4 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.345e-05/0.002551, allocations: 39.64 kB / 270.5 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.002677, allocations: 71.28 kB / 270.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.002815, allocations: 43.94 kB / 270.6 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.002989, allocations: 246.8 kB / 270.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.003132, allocations: 83 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.003259, allocations: 139.7 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.003358, allocations: 71.78 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.003389, allocations: 24 kB / 271.1 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.003414, allocations: 20 kB / 271.1 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.003447, allocations: 51.83 kB / 271.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.003506, allocations: 79.81 kB / 271.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.003669, allocations: 163.3 kB / 271.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003672, allocations: 3.984 kB / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003673, allocations: 0 / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003677, allocations: 4 kB / 271.4 MB, free: 2.91 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004762/0.004153, allocations: 0.5275 MB / 272 MB, free: 2.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.004185, allocations: 8.922 kB / 272 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.004244, allocations: 44.8 kB / 272 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.004394, allocations: 172.2 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004408, allocations: 20.88 kB / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.004441, allocations: 24.38 kB / 272.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.004661, allocations: 199.4 kB / 272.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.004673, allocations: 4.141 kB / 272.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.00469, allocations: 16.31 kB / 272.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.004701, allocations: 4.375 kB / 272.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.004827, allocations: 87.23 kB / 272.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.00553, allocations: 0.911 MB / 273.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.005676, allocations: 153.2 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.005745, allocations: 51.05 kB / 273.6 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.005755, allocations: 4 kB / 273.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005775, allocations: 45.33 kB / 273.7 MB, free: 464 kB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.005777, allocations: 0 / 273.7 MB, free: 464 kB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000228/0.006005, allocations: 137.8 kB / 273.8 MB, free: 320 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.006047, allocations: 110.8 kB / 273.9 MB, free: 184 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.00617, allocations: 223 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006182, allocations: 37.7 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.006257, allocations: 210.9 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.006292, allocations: 67.42 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.00634, allocations: 55.58 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.006445, allocations: 0.4962 MB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.006488, allocations: 28.55 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.006594, allocations: 187.9 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.006766, allocations: 231.3 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006769, allocations: 0 / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002108/0.00698, allocations: 213.2 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.006991, allocations: 4 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.006997, allocations: 7.938 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.007012, allocations: 8 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.007137, allocations: 59.84 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.007145, allocations: 12.38 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.007213, allocations: 31.78 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.007227, allocations: 12 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/0.007302, allocations: 172.5 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.007343, allocations: 23.91 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.007378, allocations: 25.45 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.00738, allocations: 0 / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.007384, allocations: 3.938 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007388, allocations: 4 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.007701, allocations: 404.2 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007702, allocations: 0 / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.007807, allocations: 39.97 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007811, allocations: 3.938 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.007822, allocations: 8 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007823, allocations: 0 / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.007825, allocations: 7.938 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.008062, allocations: 432.9 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.008079, allocations: 23.78 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.008097, allocations: 8 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.00816, allocations: 8.078 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.008181, allocations: 15.92 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.008186, allocations: 4 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.008245, allocations: 164.8 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008245, allocations: 0 / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.008466, allocations: 51.89 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.88e-05/0.008535, allocations: 99.25 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.008703, allocations: 119.7 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008704, allocations: 0 / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.00875, allocations: 51.55 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.009027, allocations: 32.7 kB / 277.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.009593, allocations: 0.512 MB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.009641, allocations: 83.98 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.009695, allocations: 33.48 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.009728, allocations: 16.5 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009728, allocations: 0 / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.002944/0.01267, allocations: 1.5 MB / 279.6 MB, free: 10.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.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.650761265307665]