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.0009951/0.0009951, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00102/0.00102, allocations: 160.5 kB / 24.55 MB, free: 16 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.072/1.072, allocations: 177 MB / 204.8 MB, free: 5.594 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.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.175e-05, allocations: 9.203 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002429/0.002451, allocations: 2.274 MB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004087/0.00286, allocations: 195.3 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.002939, allocations: 4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.448e-05/0.003014, allocations: 35.64 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.003158, allocations: 71.34 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.003351, allocations: 51.88 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.00354, allocations: 242.8 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.003716, allocations: 79 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.00385, allocations: 143.7 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.003962, allocations: 71.78 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.003991, allocations: 20 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.004018, allocations: 23.94 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.004054, allocations: 51.83 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.004117, allocations: 83.81 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004311, allocations: 155.4 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.004314, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004315, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.00432, allocations: 0 / 276.4 MB, free: 13.98 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.0005295/0.004849, allocations: 0.5392 MB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.004887, allocations: 11.98 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.004949, allocations: 44.8 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.005135, allocations: 168.2 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.005154, allocations: 20.88 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.005196, allocations: 28.36 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.005437, allocations: 199.4 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.005452, allocations: 4.188 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.005471, allocations: 12.36 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.005484, allocations: 8.375 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.00562, allocations: 82.77 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.006441, allocations: 0.9111 MB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.006601, allocations: 153.2 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.006666, allocations: 55.05 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.006676, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.006703, allocations: 45.33 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.006704, allocations: 0 / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002595/0.006963, allocations: 142.2 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.007004, allocations: 106.8 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.007139, allocations: 226.8 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.007154, allocations: 29.7 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.007243, allocations: 210.9 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.00728, allocations: 71.42 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.007333, allocations: 55.61 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.007462, allocations: 0.5001 MB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.00751, allocations: 28.48 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.007637, allocations: 180 kB / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.00783, allocations: 234.9 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.007833, allocations: 4 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002355/0.008069, allocations: 213.2 kB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.008085, allocations: 10.81 kB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.008092, allocations: 4 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.008112, allocations: 4 kB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.008242, allocations: 55.92 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.008252, allocations: 16.3 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.008324, allocations: 31.78 kB / 280.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.008338, allocations: 16 kB / 280.7 MB, free: 9.195 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 8.182e-05/0.00842, allocations: 168.5 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.008466, allocations: 19.91 kB / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.008507, allocations: 25.45 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.008511, allocations: 4 kB / 281 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.008516, allocations: 3.938 kB / 281 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00852, allocations: 0 / 281 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.008864, allocations: 396.3 kB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.008868, allocations: 12.03 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.008976, allocations: 31.98 kB / 281.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.008982, allocations: 11.92 kB / 281.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.008996, allocations: 4 kB / 281.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.009001, allocations: 4 kB / 281.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.009005, allocations: 0 / 281.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.009302, allocations: 437.9 kB / 281.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.00932, allocations: 15.84 kB / 281.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.009339, allocations: 4 kB / 281.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.009406, allocations: 12.17 kB / 281.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.009431, allocations: 15.97 kB / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.009439, allocations: 11.94 kB / 281.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.004e-05/0.009509, allocations: 156.8 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009509, allocations: 0 / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.009754, allocations: 55.89 kB / 282.1 MB, free: 7.738 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 7.726e-05/0.009831, allocations: 99.19 kB / 282.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.01003, allocations: 119.9 kB / 282.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01003, allocations: 0 / 282.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.01008, allocations: 52.17 kB / 282.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.01039, allocations: 44.84 kB / 282.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.01105, allocations: 0.5116 MB / 282.9 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.01111, allocations: 83.98 kB / 283 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.01116, allocations: 17.64 kB / 283 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.0112, allocations: 16.5 kB / 283 MB, free: 6.719 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0112, allocations: 0 / 283 MB, free: 6.719 MB / 266.7 MB Notification: Performance of Templates: time 0.003298/0.0145, allocations: 1.441 MB / 284.5 MB, free: 5.305 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.872559023089707]