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.0007992/0.0007992, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003693/0.003693, allocations: 157.2 kB / 24.7 MB, free: 8.918 MB / 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 0.8275/0.8275, allocations: 177 MB / 204.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.724e-06/1.724e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.985e-05, allocations: 6.922 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003461/0.00349, allocations: 2.141 MB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005442/0.004035, allocations: 199.3 kB / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.004159, allocations: 4 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.004255, allocations: 35.64 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.004456, allocations: 75.28 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.004658, allocations: 55.86 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.004916, allocations: 238.8 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.005129, allocations: 82.92 kB / 328.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.005445, allocations: 135.7 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005582, allocations: 71.78 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.00563, allocations: 24 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.304e-05/0.005663, allocations: 20 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.005706, allocations: 55.81 kB / 328.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.005786, allocations: 75.83 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.006086, allocations: 259.1 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.006092, allocations: 4 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006094, allocations: 0 / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.006103, allocations: 4 kB / 329.2 MB, free: 11.94 MB / 298.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.0006875/0.00679, allocations: 437.8 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.006831, allocations: 11.98 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.006897, allocations: 24.8 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.007122, allocations: 165.5 kB / 329.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.007144, allocations: 16.88 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.007189, allocations: 24.33 kB / 329.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.007557, allocations: 236 kB / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.007575, allocations: 192 / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.007599, allocations: 12.38 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007607, allocations: 4.375 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.007853, allocations: 131.8 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.008907, allocations: 0.7319 MB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.009149, allocations: 159.7 kB / 331.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.009242, allocations: 58.56 kB / 331.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.009254, allocations: 0 / 331.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.009279, allocations: 38.56 kB / 331.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.00928, allocations: 4 kB / 331.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000387/0.009667, allocations: 169.7 kB / 331.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.009722, allocations: 110.7 kB / 331.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.009891, allocations: 172.2 kB / 331.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.00991, allocations: 33.69 kB / 331.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.01001, allocations: 160.2 kB / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.01006, allocations: 67.42 kB / 331.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.01014, allocations: 53.98 kB / 332 MB, free: 8.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003477/0.01049, allocations: 326.8 kB / 332.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.01058, allocations: 48.53 kB / 332.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.01073, allocations: 151.3 kB / 332.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.011, allocations: 233.4 kB / 332.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.011, allocations: 0 / 332.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003598/0.01136, allocations: 246.3 kB / 333 MB, free: 7.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.01138, allocations: 8.031 kB / 333 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01139, allocations: 4 kB / 333 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01141, allocations: 4.188 kB / 333 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.01161, allocations: 67.84 kB / 333.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.01162, allocations: 11.94 kB / 333.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01174, allocations: 27.78 kB / 333.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01176, allocations: 11.98 kB / 333.1 MB, free: 7.711 MB / 298.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.0001105/0.01187, allocations: 137.8 kB / 333.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.01193, allocations: 15.91 kB / 333.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.01198, allocations: 25.45 kB / 333.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.01199, allocations: 8 kB / 333.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.01199, allocations: 3.938 kB / 333.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.012, allocations: 0 / 333.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.01248, allocations: 344.5 kB / 333.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01249, allocations: 0 / 333.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.01266, allocations: 39.98 kB / 333.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01267, allocations: 3.938 kB / 333.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01268, allocations: 4 kB / 333.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01269, allocations: 4 kB / 333.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01269, allocations: 4.172 kB / 333.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.01307, allocations: 372.6 kB / 334.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.0131, allocations: 23.81 kB / 334.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.01312, allocations: 8 kB / 334.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01325, allocations: 0 / 334.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.01328, allocations: 19.92 kB / 334.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01329, allocations: 11.94 kB / 334.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.115e-05/0.01338, allocations: 124.2 kB / 334.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01338, allocations: 0 / 334.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000397/0.01378, allocations: 51.95 kB / 334.3 MB, free: 6.457 MB / 298.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.0001211/0.0139, allocations: 111.2 kB / 334.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.01416, allocations: 127.7 kB / 334.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01416, allocations: 0 / 334.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.01424, allocations: 60.78 kB / 334.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.01478, allocations: 35.98 kB / 334.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.01572, allocations: 0.5231 MB / 335.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.01584, allocations: 121.2 kB / 335.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.01589, allocations: 20.5 kB / 335.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01589, allocations: 0 / 335.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of Templates: time 0.003979/0.01987, allocations: 2.329 MB / 337.6 MB, free: 3.066 MB / 298.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.258889470249414]