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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.001225/0.001225, allocations: 199 kB / 18 MB, free: 5.168 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.286/1.286, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 51.91 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2586, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003476/0.2622, allocations: 2.24 MB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005325/0.2627, allocations: 195.3 kB / 402.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.2629, allocations: 4 kB / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2631, allocations: 35.64 kB / 402.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.2633, allocations: 67.36 kB / 402.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.2635, allocations: 55.86 kB / 402.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.2637, allocations: 231 kB / 403 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.264, allocations: 122.5 kB / 403.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2641, allocations: 83.72 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2643, allocations: 107.5 kB / 403.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.2643, allocations: 20 kB / 403.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.744e-05/0.2643, allocations: 20 kB / 403.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.2644, allocations: 51.84 kB / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2645, allocations: 111.5 kB / 403.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2648, allocations: 252.8 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2648, allocations: 0 / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2648, allocations: 0 / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.2648, allocations: 0 / 403.8 MB, free: 5.238 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.0007391/0.2656, allocations: 0.5148 MB / 404.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2656, allocations: 8.031 kB / 404.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.2657, allocations: 62.67 kB / 404.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.2657, allocations: 24.66 kB / 404.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.266, allocations: 220 kB / 404.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.266, allocations: 16.94 kB / 404.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.2661, allocations: 24.38 kB / 404.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.2664, allocations: 236.8 kB / 404.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2664, allocations: 3.938 kB / 404.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2665, allocations: 16 kB / 404.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2665, allocations: 4 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.2667, allocations: 135.9 kB / 405 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.2678, allocations: 0.8557 MB / 405.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.2681, allocations: 151.7 kB / 406.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.2682, allocations: 62.56 kB / 406.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2682, allocations: 0 / 406.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2682, allocations: 42.81 kB / 406.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.2682, allocations: 3.938 kB / 406.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003681/0.2686, allocations: 177.2 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2686, allocations: 110.8 kB / 406.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.2688, allocations: 190.3 kB / 406.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2688, allocations: 33.7 kB / 406.7 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.2689, allocations: 159.9 kB / 406.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.269, allocations: 63.09 kB / 406.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.2691, allocations: 53.98 kB / 406.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.2692, allocations: 326.8 kB / 407.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.2692, allocations: 48.55 kB / 407.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2694, allocations: 155.6 kB / 407.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2696, allocations: 221.5 kB / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2696, allocations: 0 / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003624/0.27, allocations: 241.1 kB / 407.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.27, allocations: 8 kB / 407.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2701, allocations: 4 kB / 407.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2701, allocations: 4 kB / 407.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2703, allocations: 64.3 kB / 408 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2703, allocations: 16.77 kB / 408 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2705, allocations: 31.59 kB / 408 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2705, allocations: 8 kB / 408 MB, free: 0.6094 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 0.0001085/0.2706, allocations: 145.7 kB / 408.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.2707, allocations: 19.94 kB / 408.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.2707, allocations: 29.39 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2708, allocations: 3.984 kB / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2708, allocations: 0 / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2708, allocations: 11.94 kB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.2713, allocations: 420.8 kB / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2713, allocations: 0 / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.2715, allocations: 39.97 kB / 408.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2715, allocations: 0 / 408.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2715, allocations: 8 kB / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2716, allocations: 0 / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2716, allocations: 12.03 kB / 408.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.2719, allocations: 369.1 kB / 409.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.272, allocations: 100.9 kB / 409.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.272, allocations: 11.97 kB / 409.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2722, allocations: 12 kB / 409.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.2722, allocations: 19.86 kB / 409.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2722, allocations: 4 kB / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.2723, allocations: 140.3 kB / 409.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2723, allocations: 0 / 409.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.2727, allocations: 55.84 kB / 409.4 MB, free: 15.11 MB / 334.1 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.0006228/0.2733, allocations: 0.9066 MB / 410.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.2737, allocations: 150.2 kB / 410.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2737, allocations: 0 / 410.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.2738, allocations: 51.86 kB / 410.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2743, allocations: 31.92 kB / 410.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.2772, allocations: 2.566 MB / 413.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.2775, allocations: 0.732 MB / 413.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.2776, allocations: 21.94 kB / 413.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.2777, allocations: 59.42 kB / 413.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2777, allocations: 0 / 413.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.657/1.935, allocations: 3.774 MB / 417.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/10.65, allocations: 7.422 kB / 417.7 MB, free: 6.664 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > 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