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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 106.6 kB / 18.4 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 186.1 kB / 19.33 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 51.92 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0705/0.07159, allocations: 46.62 MB / 375.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002898/0.07452, allocations: 2.25 MB / 378.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003535/0.07489, allocations: 195.3 kB / 378.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.07497, allocations: 7.938 kB / 378.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.251e-05/0.07507, allocations: 35.64 kB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.07521, allocations: 63.41 kB / 378.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.07536, allocations: 51.94 kB / 378.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.07559, allocations: 243 kB / 378.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.07579, allocations: 114.3 kB / 378.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.07589, allocations: 87.7 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.07603, allocations: 99.56 kB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.07608, allocations: 20 kB / 379 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.07612, allocations: 20 kB / 379 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.07617, allocations: 51.83 kB / 379 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.07627, allocations: 115.5 kB / 379.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.07651, allocations: 259 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.07652, allocations: 7.938 kB / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07653, allocations: 0 / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.07654, allocations: 4 kB / 379.4 MB, free: 1.004 MB / 318.1 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.0006333/0.07718, allocations: 0.4993 MB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.07722, allocations: 8.031 kB / 379.9 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.07727, allocations: 20.75 kB / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.07747, allocations: 231.9 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.07749, allocations: 12.94 kB / 380.2 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.07753, allocations: 28.31 kB / 380.2 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1476/0.2251, allocations: 224.1 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.2252, allocations: 5.312 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.2252, allocations: 9.281 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2252, allocations: 5.719 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.2255, allocations: 137.5 kB / 380.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.2266, allocations: 0.8591 MB / 381.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2268, allocations: 155.2 kB / 381.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.2269, allocations: 61.88 kB / 381.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2269, allocations: 6.266 kB / 381.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.2269, allocations: 39.55 kB / 381.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.2269, allocations: 0 / 381.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003659/0.2273, allocations: 165.3 kB / 381.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.2274, allocations: 112.5 kB / 382 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2275, allocations: 204.2 kB / 382.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2275, allocations: 30.14 kB / 382.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.2276, allocations: 158.1 kB / 382.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2277, allocations: 62.92 kB / 382.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.2277, allocations: 53.64 kB / 382.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.2278, allocations: 328 kB / 382.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.2279, allocations: 50.86 kB / 382.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.228, allocations: 150.1 kB / 383 MB, free: 11.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.2282, allocations: 218.8 kB / 383.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2282, allocations: 10.53 kB / 383.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003803/0.2286, allocations: 244.5 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2286, allocations: 6.156 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2286, allocations: 5.062 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2287, allocations: 5.5 kB / 383.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2289, allocations: 64.05 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.2289, allocations: 5.797 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2291, allocations: 29 kB / 383.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2291, allocations: 11.28 kB / 383.6 MB, free: 11.2 MB / 318.1 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.54e-05/0.2292, allocations: 153.4 kB / 383.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.2293, allocations: 16.64 kB / 383.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.2293, allocations: 24 kB / 383.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2294, allocations: 2.422 kB / 383.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2294, allocations: 3.375 kB / 383.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.2294, allocations: 92.2 kB / 383.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.2294, allocations: 7.922 kB / 383.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2296, allocations: 5.953 kB / 383.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.2297, allocations: 19.44 kB / 383.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004086/0.2301, allocations: 387.9 kB / 384.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003645/0.2304, allocations: 0.5037 MB / 384.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.177e-05/0.2305, allocations: 53.8 kB / 384.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.2306, allocations: 139.8 kB / 384.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Backend: time 9.41e-07/0.2307, allocations: 1.5 kB / 385 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006093/0.2313, allocations: 187.3 kB / 385.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009989/0.2323, allocations: 1.016 MB / 386.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of Templates: time 0.005007/0.2373, allocations: 1.91 MB / 388.1 MB, free: 8.984 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches