Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.002155/0.002155, allocations: 92.33 kB / 21.73 MB, free: 2.676 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.002257/0.002257, allocations: 164 kB / 25.02 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.032e-05, allocations: 6.109 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003831/0.003862, allocations: 2.123 MB / 252.5 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005063/0.004368, allocations: 183.3 kB / 252.7 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004477, allocations: 4 kB / 252.7 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.004605, allocations: 39.64 kB / 252.7 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.004834, allocations: 71.34 kB / 252.8 MB, free: 5.406 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.005053, allocations: 59.8 kB / 252.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.005386, allocations: 246.8 kB / 253.1 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.005605, allocations: 71.02 kB / 253.1 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.005843, allocations: 139.8 kB / 253.3 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.005991, allocations: 71.78 kB / 253.3 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.006033, allocations: 20 kB / 253.4 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.006077, allocations: 28 kB / 253.4 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.006135, allocations: 47.81 kB / 253.4 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.00624, allocations: 75.83 kB / 253.5 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.006582, allocations: 259.2 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.006586, allocations: 0 / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006588, allocations: 0 / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006593, allocations: 0 / 253.8 MB, free: 4.406 MB / 234.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.0008074/0.007401, allocations: 445.8 kB / 254.2 MB, free: 3.938 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.007441, allocations: 11.98 kB / 254.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.007539, allocations: 44.8 kB / 254.3 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.007798, allocations: 165.3 kB / 254.4 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.007828, allocations: 20.88 kB / 254.4 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.007877, allocations: 20.38 kB / 254.5 MB, free: 3.652 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.008308, allocations: 232 kB / 254.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.008323, allocations: 192 / 254.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.008353, allocations: 20.36 kB / 254.7 MB, free: 3.391 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.008361, allocations: 4.375 kB / 254.7 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.008647, allocations: 135.8 kB / 254.8 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.009916, allocations: 0.7359 MB / 255.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.01019, allocations: 147.7 kB / 255.7 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.0103, allocations: 58.5 kB / 255.8 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.01032, allocations: 7.938 kB / 255.8 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.01036, allocations: 38.56 kB / 255.8 MB, free: 2.184 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.01036, allocations: 0 / 255.8 MB, free: 2.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004517/0.01081, allocations: 173.8 kB / 256 MB, free: 2.008 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.01091, allocations: 110.7 kB / 256.1 MB, free: 1.875 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.01113, allocations: 175.5 kB / 256.3 MB, free: 1.684 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.01116, allocations: 29.7 kB / 256.3 MB, free: 1.648 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.0113, allocations: 160.2 kB / 256.5 MB, free: 1.484 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.01138, allocations: 75.41 kB / 256.5 MB, free: 1.41 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.01147, allocations: 49.95 kB / 256.6 MB, free: 1.355 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.01167, allocations: 330.8 kB / 256.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.01177, allocations: 48.55 kB / 257 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.01197, allocations: 150.8 kB / 257.1 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.0123, allocations: 234.1 kB / 257.3 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.0123, allocations: 0 / 257.3 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004355/0.01274, allocations: 249.6 kB / 257.6 MB, free: 260 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01276, allocations: 8 kB / 257.6 MB, free: 252 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.01277, allocations: 7.938 kB / 257.6 MB, free: 244 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.01279, allocations: 4 kB / 257.6 MB, free: 240 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.01302, allocations: 63.91 kB / 257.7 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.01303, allocations: 7.938 kB / 257.7 MB, free: 168 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01317, allocations: 31.78 kB / 257.7 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.01319, allocations: 12 kB / 257.7 MB, free: 124 kB / 234.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 0.00017/0.01336, allocations: 141.8 kB / 257.8 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.01345, allocations: 28 kB / 257.9 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.01351, allocations: 21.47 kB / 257.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01351, allocations: 3.938 kB / 257.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.01352, allocations: 7.938 kB / 257.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01353, allocations: 3.984 kB / 257.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.01408, allocations: 336.6 kB / 258.2 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01408, allocations: 0 / 258.2 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.01428, allocations: 35.98 kB / 258.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.01429, allocations: 3.938 kB / 258.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01431, allocations: 8.094 kB / 258.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01431, allocations: 7.938 kB / 258.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.01431, allocations: 7.938 kB / 258.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.01479, allocations: 369.2 kB / 258.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.01482, allocations: 19.84 kB / 258.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.01485, allocations: 8 kB / 258.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.01499, allocations: 4.281 kB / 258.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.01502, allocations: 11.97 kB / 258.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01503, allocations: 4 kB / 258.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.01516, allocations: 132.9 kB / 258.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01516, allocations: 0 / 258.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.01554, allocations: 59.89 kB / 258.9 MB, free: 14.85 MB / 250.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 0.0001394/0.01568, allocations: 103.2 kB / 259 MB, free: 14.74 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.01598, allocations: 135.7 kB / 259.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01598, allocations: 0 / 259.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.01606, allocations: 48.8 kB / 259.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.01662, allocations: 40.28 kB / 259.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.01761, allocations: 0.5136 MB / 259.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.01776, allocations: 121.2 kB / 259.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.01784, allocations: 17.64 kB / 259.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01789, allocations: 16.5 kB / 259.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01789, allocations: 4 kB / 259.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of Templates: time 0.004652/0.02254, allocations: 1.409 MB / 261.3 MB, free: 12.4 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.353136621997692]