Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001213/0.001213, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.0009826/0.0009826, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009231/0.0009232, allocations: 51.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2404, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002892/0.2434, allocations: 2.257 MB / 403.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003491/0.2437, allocations: 195.3 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.2438, allocations: 4 kB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.451e-05/0.2439, allocations: 35.64 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.2441, allocations: 63.42 kB / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.2442, allocations: 55.88 kB / 404 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2444, allocations: 238.9 kB / 404.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.2446, allocations: 114.6 kB / 404.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.2447, allocations: 87.72 kB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2449, allocations: 103.5 kB / 404.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.2449, allocations: 20 kB / 404.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.245, allocations: 24 kB / 404.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.245, allocations: 47.84 kB / 404.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.2451, allocations: 115.5 kB / 404.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2453, allocations: 252.2 kB / 405 MB, free: 5.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2454, allocations: 0 / 405 MB, free: 5.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2454, allocations: 0 / 405 MB, free: 5.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2454, allocations: 0 / 405 MB, free: 5.301 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.0006225/0.246, allocations: 0.5148 MB / 405.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.246, allocations: 12.03 kB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.2461, allocations: 24.66 kB / 405.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.2463, allocations: 216 kB / 405.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2463, allocations: 16.94 kB / 405.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2464, allocations: 28.38 kB / 405.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.2467, allocations: 232.8 kB / 406 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2467, allocations: 4.188 kB / 406 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2468, allocations: 11.94 kB / 406 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2468, allocations: 11.94 kB / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.247, allocations: 131.9 kB / 406.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009718/0.248, allocations: 0.848 MB / 407 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2482, allocations: 159.7 kB / 407.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.2483, allocations: 62.5 kB / 407.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.2483, allocations: 4 kB / 407.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2483, allocations: 42.48 kB / 407.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2483, allocations: 4 kB / 407.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003332/0.2487, allocations: 165.7 kB / 407.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.2487, allocations: 110.8 kB / 407.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2489, allocations: 198.2 kB / 407.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2489, allocations: 29.7 kB / 407.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.249, allocations: 159.9 kB / 407.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.2491, allocations: 63.09 kB / 408 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.2491, allocations: 49.98 kB / 408 MB, free: 1.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.2492, allocations: 330.8 kB / 408.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.2493, allocations: 52.53 kB / 408.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2495, allocations: 151.6 kB / 408.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.2497, allocations: 234.1 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2497, allocations: 0 / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003309/0.2501, allocations: 233.1 kB / 409 MB, free: 0.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2501, allocations: 7.938 kB / 409 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2501, allocations: 4.438 kB / 409 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2501, allocations: 12 kB / 409 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2503, allocations: 63.91 kB / 409.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2503, allocations: 7.938 kB / 409.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2505, allocations: 31.59 kB / 409.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2505, allocations: 12 kB / 409.2 MB, free: 0.7383 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 9.812e-05/0.2506, allocations: 141.7 kB / 409.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.2507, allocations: 23.75 kB / 409.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.2507, allocations: 25.39 kB / 409.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2508, allocations: 4.188 kB / 409.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2508, allocations: 0 / 409.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.2508, allocations: 104.9 kB / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2508, allocations: 0 / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.251, allocations: 8 kB / 409.5 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.2511, allocations: 11.98 kB / 409.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003986/0.2515, allocations: 391.3 kB / 409.9 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003827/0.2519, allocations: 0.5049 MB / 410.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.514e-05/0.2519, allocations: 48.02 kB / 410.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.742e-05/0.252, allocations: 140.3 kB / 410.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.252, allocations: 7.875 kB / 410.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000585/0.2526, allocations: 186 kB / 410.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009972/0.2536, allocations: 1.023 MB / 411.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Templates: time 0.004398/0.2581, allocations: 1.953 MB / 413.7 MB, free: 12.09 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches