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.001576/0.001576, allocations: 112.4 kB / 17.06 MB, free: 6.004 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.00124/0.00124, allocations: 200 kB / 18 MB, free: 5.082 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 43.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2358, 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.003155/0.239, allocations: 2.249 MB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.2394, allocations: 187.3 kB / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2396, allocations: 8 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.2397, allocations: 39.58 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.2398, allocations: 63.42 kB / 402.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.24, allocations: 55.86 kB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.2402, allocations: 238.9 kB / 403.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.2405, allocations: 110.6 kB / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2406, allocations: 91.7 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2407, allocations: 99.55 kB / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.2408, allocations: 24 kB / 403.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.429e-05/0.2408, allocations: 24 kB / 403.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2409, allocations: 47.83 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.241, allocations: 115.5 kB / 403.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.2413, allocations: 248.8 kB / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2413, allocations: 4 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2413, allocations: 0 / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.2413, allocations: 0 / 403.8 MB, free: 5.227 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.0006486/0.2419, allocations: 0.5109 MB / 404.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.242, allocations: 8.031 kB / 404.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.242, allocations: 58.67 kB / 404.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.2421, allocations: 24.66 kB / 404.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2423, allocations: 223.4 kB / 404.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2423, allocations: 20.94 kB / 404.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.2424, allocations: 24.38 kB / 404.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.2427, allocations: 240.8 kB / 404.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2427, allocations: 3.938 kB / 404.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2428, allocations: 12 kB / 404.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2428, allocations: 4 kB / 404.9 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.243, allocations: 127.9 kB / 405 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.244, allocations: 0.8597 MB / 405.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.2442, allocations: 159.7 kB / 406.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.2443, allocations: 62.5 kB / 406.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2443, allocations: 4 kB / 406.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2443, allocations: 42.44 kB / 406.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.2443, allocations: 0 / 406.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003467/0.2447, allocations: 173.6 kB / 406.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.2447, allocations: 106.8 kB / 406.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2449, allocations: 198.3 kB / 406.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2449, allocations: 25.7 kB / 406.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.245, allocations: 159.9 kB / 406.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.2451, allocations: 71.08 kB / 406.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.2452, allocations: 45.98 kB / 406.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.2453, allocations: 334.8 kB / 407.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.2454, allocations: 44.55 kB / 407.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2455, allocations: 151.7 kB / 407.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.2457, allocations: 226 kB / 407.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2457, allocations: 4 kB / 407.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003258/0.2461, allocations: 249 kB / 407.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2461, allocations: 8 kB / 407.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2461, allocations: 4 kB / 407.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2461, allocations: 4.438 kB / 407.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2463, allocations: 59.92 kB / 408 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2464, allocations: 11.92 kB / 408 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2465, allocations: 31.59 kB / 408 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2465, allocations: 16 kB / 408 MB, free: 0.5898 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.0001027/0.2466, allocations: 145.7 kB / 408.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.2467, allocations: 19.75 kB / 408.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.2467, allocations: 25.39 kB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2468, allocations: 4 kB / 408.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2468, allocations: 4 kB / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2468, allocations: 0 / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.2473, allocations: 412.9 kB / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2473, allocations: 4 kB / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.2475, allocations: 43.91 kB / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2475, allocations: 4 kB / 408.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.2475, allocations: 4 kB / 408.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2475, allocations: 4.094 kB / 408.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2475, allocations: 0 / 408.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2479, allocations: 381 kB / 409.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2479, allocations: 96.8 kB / 409.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.248, allocations: 20.03 kB / 409.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2481, allocations: 4 kB / 409.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.2481, allocations: 11.92 kB / 409.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.2482, allocations: 8 kB / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.86e-05/0.2483, allocations: 136.3 kB / 409.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2483, allocations: 0 / 409.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000348/0.2486, allocations: 59.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.000545/0.2492, allocations: 0.9092 MB / 410.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2494, allocations: 139.8 kB / 410.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2494, allocations: 0 / 410.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.2495, allocations: 55.92 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.0004653/0.25, allocations: 34.67 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.002432/0.2524, allocations: 2.578 MB / 413.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2527, allocations: 0.7359 MB / 413.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.614e-05/0.2528, allocations: 25.92 kB / 413.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.2529, allocations: 55.42 kB / 413.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2529, allocations: 0 / 413.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.2737, allocations: 3.761 MB / 417.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.88, allocations: 3.984 kB / 417.7 MB, free: 6.656 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