Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 211.8 kB / 24.51 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.35/1.35, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 51.91 kB / 378.5 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 53.36 MB / 431.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003227/0.2339, allocations: 2.134 MB / 434 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.2343, allocations: 195.3 kB / 434.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.2344, allocations: 4 kB / 434.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.379e-05/0.2345, allocations: 39.64 kB / 434.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2346, allocations: 63.41 kB / 434.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.2348, allocations: 55.88 kB / 434.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.235, allocations: 231 kB / 434.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2352, allocations: 81.12 kB / 434.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2353, allocations: 95.72 kB / 434.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2355, allocations: 103.5 kB / 434.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.2355, allocations: 20 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.2356, allocations: 24 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.2356, allocations: 43.84 kB / 434.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.2357, allocations: 91.59 kB / 435 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.236, allocations: 258.9 kB / 435.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.236, allocations: 0 / 435.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.236, allocations: 7.984 kB / 435.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.236, allocations: 0 / 435.3 MB, free: 3.258 MB / 334.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.0006675/0.2367, allocations: 441.8 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2367, allocations: 15.97 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.067e-05/0.2367, allocations: 4.688 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.2368, allocations: 66.72 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.2368, allocations: 24.8 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.237, allocations: 162.2 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.237, allocations: 16.88 kB / 436 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.2371, allocations: 24.38 kB / 436 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.2375, allocations: 231.8 kB / 436.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2375, allocations: 7.984 kB / 436.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2375, allocations: 8 kB / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2375, allocations: 8 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.2377, allocations: 131.9 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2388, allocations: 0.7781 MB / 437.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.239, allocations: 147.7 kB / 437.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.2391, allocations: 58.56 kB / 437.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2391, allocations: 7.938 kB / 437.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2391, allocations: 38.55 kB / 437.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.2391, allocations: 0 / 437.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003641/0.2395, allocations: 173.7 kB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.2396, allocations: 114.8 kB / 437.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2398, allocations: 196.5 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2398, allocations: 25.7 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2399, allocations: 168.2 kB / 438.1 MB, free: 220 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.2399, allocations: 71.36 kB / 438.1 MB, free: 148 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.24, allocations: 49.98 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2402, allocations: 326.8 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.2402, allocations: 48.53 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.2404, allocations: 159.6 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.2407, allocations: 221.5 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2407, allocations: 0 / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003514/0.241, allocations: 249.1 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.241, allocations: 4 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.241, allocations: 4.438 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2411, allocations: 12 kB / 439.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2413, allocations: 59.84 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2413, allocations: 8.781 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2414, allocations: 35.72 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2414, allocations: 16 kB / 439.3 MB, free: 14.86 MB / 350.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.0001094/0.2415, allocations: 133.8 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.2416, allocations: 23.84 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.2417, allocations: 25.39 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2417, allocations: 0 / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2417, allocations: 8 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2417, allocations: 0 / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.2422, allocations: 379.9 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2422, allocations: 4 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2424, allocations: 35.98 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2424, allocations: 4 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2424, allocations: 4 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2424, allocations: 0 / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2424, allocations: 3.938 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.2428, allocations: 391.3 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.2428, allocations: 16.22 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.2428, allocations: 8 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.243, allocations: 0 / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.243, allocations: 27.84 kB / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.243, allocations: 4 kB / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.2431, allocations: 143.4 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2431, allocations: 0 / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.2435, allocations: 51.89 kB / 440.6 MB, free: 13.53 MB / 350.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.0006608/0.2441, allocations: 0.92 MB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2444, allocations: 135.7 kB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2444, allocations: 0 / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.2445, allocations: 55.86 kB / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.2449, allocations: 27.58 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2477, allocations: 2.558 MB / 444.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2478, allocations: 125.2 kB / 444.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.2479, allocations: 21.89 kB / 444.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.248, allocations: 59.42 kB / 444.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.248, allocations: 0 / 444.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.2731, allocations: 4.066 MB / 448.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.85, allocations: 11.86 kB / 448.5 MB, free: 5.473 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.094720208086073]