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.001161/0.001161, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001204/0.001204, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.9/0.9, allocations: 177 MB / 205.2 MB, free: 5.59 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.363e-06/1.363e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.442e-05, allocations: 5.266 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.005755/0.005769, allocations: 2.258 MB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003715/0.006141, allocations: 195.3 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.006226, allocations: 4 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.631e-05/0.006303, allocations: 39.64 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.006449, allocations: 67.36 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.006606, allocations: 55.86 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.006825, allocations: 250.7 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.00699, allocations: 71.02 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.007146, allocations: 143.7 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.007263, allocations: 71.78 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.007298, allocations: 20 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.007327, allocations: 20 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.00738, allocations: 51.83 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.00746, allocations: 79.81 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.007672, allocations: 167.4 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.007674, allocations: 0 / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007675, allocations: 0 / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.00768, allocations: 0 / 276.5 MB, free: 14.26 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.0005816/0.008261, allocations: 0.5314 MB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.008299, allocations: 19.92 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.008376, allocations: 44.8 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.008575, allocations: 168.2 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.008597, allocations: 24.88 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.008636, allocations: 20.38 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.008921, allocations: 199.4 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.008935, allocations: 4.125 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.008955, allocations: 12.38 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.008966, allocations: 8.375 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.009134, allocations: 86.75 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.009995, allocations: 0.9151 MB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.01022, allocations: 149.2 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.01029, allocations: 47.36 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.0103, allocations: 11.92 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.01032, allocations: 41.39 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.01033, allocations: 0 / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002506/0.01058, allocations: 134 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.01062, allocations: 110.8 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.01074, allocations: 230.7 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.01075, allocations: 29.7 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.01083, allocations: 210.9 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01087, allocations: 71.42 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.01092, allocations: 59.59 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01103, allocations: 0.4962 MB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.01107, allocations: 24.55 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.01131, allocations: 180 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.01149, allocations: 238.9 kB / 280.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01149, allocations: 0 / 280.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002253/0.01172, allocations: 213.2 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01173, allocations: 10.97 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01174, allocations: 4.438 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01175, allocations: 8 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01188, allocations: 63.84 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01189, allocations: 7.938 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.01195, allocations: 27.78 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.01196, allocations: 16 kB / 280.8 MB, free: 9.477 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.364e-05/0.01204, allocations: 172.5 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.01208, allocations: 19.91 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.01211, allocations: 25.45 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01212, allocations: 4 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01212, allocations: 7.938 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01212, allocations: 3.938 kB / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.01244, allocations: 388.3 kB / 281.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01244, allocations: 4 kB / 281.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01254, allocations: 35.97 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01255, allocations: 7.938 kB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01256, allocations: 4 kB / 281.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01256, allocations: 4 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01256, allocations: 3.938 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.0128, allocations: 438.1 kB / 281.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.01282, allocations: 19.84 kB / 281.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01284, allocations: 8 kB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.0129, allocations: 3.984 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.01292, allocations: 19.92 kB / 282 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.01293, allocations: 4 kB / 282 MB, free: 8.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.987e-05/0.01299, allocations: 156.8 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01299, allocations: 0 / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01323, allocations: 55.89 kB / 282.2 MB, free: 8.023 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.593e-05/0.0133, allocations: 103.2 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.01347, allocations: 123.4 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01347, allocations: 0 / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.01352, allocations: 48.23 kB / 282.4 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.0138, allocations: 41.3 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.0144, allocations: 0.5226 MB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.01445, allocations: 79.98 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.0145, allocations: 21.62 kB / 283.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.01454, allocations: 16.5 kB / 283.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01454, allocations: 0 / 283.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of Templates: time 0.003213/0.01775, allocations: 1.437 MB / 284.6 MB, free: 5.582 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] 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","",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.4686818961054087]