Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001834/0.001834, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002086/0.002086, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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 1.511/1.511, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.956e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003923/0.003952, allocations: 2.151 MB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.004519, allocations: 195.2 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.004661, allocations: 4 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.004769, allocations: 35.64 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.004981, allocations: 71.36 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.005181, allocations: 51.92 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.005487, allocations: 242.8 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.005681, allocations: 74.95 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.005902, allocations: 147.7 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.006053, allocations: 67.78 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.006097, allocations: 20 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.00614, allocations: 28 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.00619, allocations: 43.83 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.006302, allocations: 83.83 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.006653, allocations: 259.1 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.006657, allocations: 3.938 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006658, allocations: 0 / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.006664, allocations: 0 / 275.6 MB, free: 14.32 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008027/0.007467, allocations: 441.8 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.007504, allocations: 11.98 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.007602, allocations: 40.8 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.007851, allocations: 161.5 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.007877, allocations: 16.88 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.007932, allocations: 24.33 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.008367, allocations: 236 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.008382, allocations: 192 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.008407, allocations: 12.38 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.00842, allocations: 12.38 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.008682, allocations: 127.8 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.00987, allocations: 0.7399 MB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.01015, allocations: 151.9 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01026, allocations: 62.7 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.01028, allocations: 4 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.01031, allocations: 38.56 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.707e-06/0.01031, allocations: 3.984 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004189/0.01073, allocations: 169.9 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.01082, allocations: 114.7 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.01105, allocations: 171.2 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.01108, allocations: 29.7 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.01122, allocations: 164.2 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.01129, allocations: 67.38 kB / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.01138, allocations: 53.98 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.01157, allocations: 326.8 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01168, allocations: 56.53 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.0119, allocations: 159.3 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.01222, allocations: 221.7 kB / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01223, allocations: 0 / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004598/0.01268, allocations: 265.5 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.0127, allocations: 4 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01271, allocations: 4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.01274, allocations: 4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.01299, allocations: 59.91 kB / 279.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.01301, allocations: 15.88 kB / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01315, allocations: 23.84 kB / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.01317, allocations: 12 kB / 279.6 MB, free: 10.05 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 0.0001512/0.01332, allocations: 141.7 kB / 279.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.0134, allocations: 23.94 kB / 279.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.01346, allocations: 25.45 kB / 279.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.01347, allocations: 4 kB / 279.8 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.01348, allocations: 3.938 kB / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01348, allocations: 0 / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.01407, allocations: 340.6 kB / 280.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01407, allocations: 0 / 280.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.01429, allocations: 43.92 kB / 280.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.01429, allocations: 3.938 kB / 280.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.01431, allocations: 4 kB / 280.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01431, allocations: 4.094 kB / 280.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.01432, allocations: 4 kB / 280.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.01482, allocations: 377.1 kB / 280.5 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.01486, allocations: 19.88 kB / 280.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.01489, allocations: 8 kB / 280.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.01503, allocations: 0 / 280.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.01505, allocations: 7.984 kB / 280.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01507, allocations: 12 kB / 280.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01518, allocations: 120.9 kB / 280.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01518, allocations: 0 / 280.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.01556, allocations: 63.83 kB / 280.7 MB, free: 8.789 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 0.0001428/0.01571, allocations: 103.2 kB / 280.8 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.01601, allocations: 131.8 kB / 281 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01601, allocations: 0 / 281 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.0161, allocations: 57.34 kB / 281 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.01661, allocations: 52.06 kB / 281.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.0176, allocations: 0.4984 MB / 281.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.01776, allocations: 121.2 kB / 281.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.235e-05/0.01785, allocations: 25.62 kB / 281.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.0179, allocations: 16.5 kB / 281.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0179, allocations: 4 kB / 281.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of Templates: time 0.005055/0.02296, allocations: 1.428 MB / 283.2 MB, free: 6.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.223477131919935]