Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 178.8 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007299/0.00073, allocations: 98.81 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002662, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2316, allocations: 47.59 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002317/0.234, allocations: 1.874 MB / 378.5 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.2344, allocations: 189.1 kB / 378.7 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.2344, allocations: 5.531 kB / 378.7 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.2345, allocations: 26.95 kB / 378.7 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2347, allocations: 55.39 kB / 378.7 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.2348, allocations: 42.55 kB / 378.8 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.235, allocations: 224.2 kB / 379 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.2352, allocations: 92.22 kB / 379.1 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.2353, allocations: 75.77 kB / 379.2 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2355, allocations: 92.72 kB / 379.3 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2355, allocations: 12.25 kB / 379.3 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-05/0.2356, allocations: 11.34 kB / 379.3 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.2356, allocations: 38.34 kB / 379.3 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.2357, allocations: 128.5 kB / 379.4 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2359, allocations: 248.6 kB / 379.7 MB, free: 43.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2359, allocations: 0 / 379.7 MB, free: 43.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2359, allocations: 0 / 379.7 MB, free: 43.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2359, allocations: 3.938 kB / 379.7 MB, free: 43.21 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.0005697/0.2365, allocations: 471.5 kB / 380.2 MB, free: 42.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2366, allocations: 13.11 kB / 380.2 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.2366, allocations: 28.78 kB / 380.2 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2368, allocations: 218.5 kB / 380.4 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.2369, allocations: 17.81 kB / 380.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.2369, allocations: 18.75 kB / 380.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2373, allocations: 236.5 kB / 380.7 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.2374, allocations: 5.5 kB / 380.7 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.2374, allocations: 14.78 kB / 380.7 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2374, allocations: 5.781 kB / 380.7 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.2377, allocations: 127 kB / 380.8 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2388, allocations: 0.8637 MB / 381.7 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.239, allocations: 153.2 kB / 381.8 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.2391, allocations: 63.94 kB / 381.9 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2391, allocations: 2.469 kB / 381.9 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2392, allocations: 51.94 kB / 382 MB, free: 41.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.674e-06/0.2392, allocations: 0 / 382 MB, free: 41.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003445/0.2395, allocations: 165.4 kB / 382.1 MB, free: 41.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.2396, allocations: 108.1 kB / 382.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2397, allocations: 195.4 kB / 382.4 MB, free: 40.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2397, allocations: 27.17 kB / 382.4 MB, free: 40.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.2398, allocations: 166.8 kB / 382.6 MB, free: 40.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.2398, allocations: 62.75 kB / 382.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.2399, allocations: 5.281 kB / 382.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.2399, allocations: 330.3 kB / 383 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.24, allocations: 50.41 kB / 383 MB, free: 40.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2401, allocations: 149.7 kB / 383.2 MB, free: 40.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.2404, allocations: 223.4 kB / 383.4 MB, free: 39.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2404, allocations: 1.094 kB / 383.4 MB, free: 39.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003208/0.2407, allocations: 238 kB / 383.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2407, allocations: 11.38 kB / 383.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2407, allocations: 4.562 kB / 383.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.2408, allocations: 12.16 kB / 383.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.241, allocations: 59.47 kB / 383.7 MB, free: 39.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.241, allocations: 9.5 kB / 383.7 MB, free: 39.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2412, allocations: 33 kB / 383.8 MB, free: 39.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2412, allocations: 13.75 kB / 383.8 MB, free: 39.73 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 9.28e-05/0.2413, allocations: 140.7 kB / 383.9 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.2413, allocations: 28.56 kB / 383.9 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.2414, allocations: 22.52 kB / 384 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2414, allocations: 6.438 kB / 384 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2414, allocations: 1.125 kB / 384 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2414, allocations: 1.156 kB / 384 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.2418, allocations: 421.4 kB / 384.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2419, allocations: 1.188 kB / 384.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.2421, allocations: 38.48 kB / 384.4 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2421, allocations: 5.406 kB / 384.4 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2421, allocations: 7.188 kB / 384.4 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2421, allocations: 2.594 kB / 384.4 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2421, allocations: 1.406 kB / 384.4 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.2424, allocations: 377 kB / 384.8 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.2425, allocations: 107 kB / 384.9 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2425, allocations: 2.594 kB / 384.9 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2427, allocations: 5.125 kB / 384.9 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.2427, allocations: 14.36 kB / 384.9 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2427, allocations: 8.969 kB / 384.9 MB, free: 38.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.2428, allocations: 139.1 kB / 385.1 MB, free: 38.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2428, allocations: 0 / 385.1 MB, free: 38.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00034/0.2432, allocations: 57.12 kB / 385.1 MB, free: 38.55 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.0001283/0.2433, allocations: 112.4 kB / 385.2 MB, free: 38.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2436, allocations: 136.7 kB / 385.4 MB, free: 38.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2436, allocations: 0 / 385.4 MB, free: 38.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.2437, allocations: 60.69 kB / 385.4 MB, free: 38.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.2442, allocations: 28.98 kB / 385.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2453, allocations: 0.7434 MB / 386.2 MB, free: 37.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2456, allocations: 0.7289 MB / 386.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.986e-05/0.2457, allocations: 23.38 kB / 387 MB, free: 37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.2457, allocations: 21.5 kB / 387 MB, free: 36.99 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2458, allocations: 3.938 kB / 387 MB, free: 36.99 MB / 298.7 MB Notification: Performance of Templates: time 0.00388/0.2496, allocations: 1.453 MB / 388.4 MB, free: 36.07 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches