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.001237/0.001237, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001434/0.001434, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.376/1.376, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001441/0.001441, allocations: 47.92 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 53.37 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003544/0.2367, allocations: 2.276 MB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000421/0.2372, allocations: 203.2 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.2372, allocations: 7.938 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.419e-05/0.2373, allocations: 31.66 kB / 434.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.2375, allocations: 67.41 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.2377, allocations: 47.94 kB / 434.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2379, allocations: 235 kB / 434.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.2381, allocations: 87 kB / 434.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2382, allocations: 87.72 kB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2384, allocations: 99.55 kB / 435 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.2384, allocations: 20 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.482e-05/0.2384, allocations: 28 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.2385, allocations: 43.84 kB / 435.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.2386, allocations: 115.5 kB / 435.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.2389, allocations: 255.7 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2389, allocations: 4 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2389, allocations: 0 / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2389, allocations: 4 kB / 435.5 MB, free: 3.27 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.0006848/0.2396, allocations: 441.8 kB / 435.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2396, allocations: 8.031 kB / 435.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.2396, allocations: 4.688 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.2397, allocations: 58.73 kB / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.2397, allocations: 24.8 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.24, allocations: 166.1 kB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.24, allocations: 20.81 kB / 436.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.24, allocations: 40.3 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.2404, allocations: 227.8 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2404, allocations: 4 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2404, allocations: 8 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2405, allocations: 8 kB / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.2407, allocations: 127.9 kB / 436.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2419, allocations: 0.821 MB / 437.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.2421, allocations: 159.7 kB / 437.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.2422, allocations: 58.56 kB / 437.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2422, allocations: 11.88 kB / 437.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.2423, allocations: 42.5 kB / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.2423, allocations: 0 / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003751/0.2426, allocations: 165.8 kB / 437.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.2427, allocations: 106.8 kB / 438 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2429, allocations: 200.5 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2429, allocations: 29.7 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2431, allocations: 160.2 kB / 438.4 MB, free: 188 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.2431, allocations: 63.42 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.2432, allocations: 57.94 kB / 438.5 MB, free: 56 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2434, allocations: 330.8 kB / 438.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.2435, allocations: 44.55 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2436, allocations: 163.5 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2439, allocations: 222.2 kB / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2439, allocations: 0 / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003721/0.2443, allocations: 245.1 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2443, allocations: 4.438 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2443, allocations: 11.98 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.2443, allocations: 8 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.2445, allocations: 55.92 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.2445, allocations: 8 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2447, allocations: 31.73 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2447, allocations: 12 kB / 439.6 MB, free: 14.83 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.000134/0.2448, allocations: 141.7 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.2449, allocations: 23.84 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.245, allocations: 25.41 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.245, allocations: 3.938 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.245, allocations: 4 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.245, allocations: 3.984 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.2455, allocations: 395.9 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2456, allocations: 4 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.2457, allocations: 35.92 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2457, allocations: 8.094 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2458, allocations: 4.188 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.2458, allocations: 7.984 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2458, allocations: 0 / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.2462, allocations: 389.1 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2462, allocations: 15.91 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2462, allocations: 4 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2464, allocations: 8 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2464, allocations: 15.95 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2464, allocations: 8 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.2465, allocations: 147.3 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2465, allocations: 0 / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.2469, allocations: 55.89 kB / 440.9 MB, free: 13.46 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.0007305/0.2476, allocations: 0.9083 MB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.248, allocations: 131.8 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.248, allocations: 0 / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.2481, allocations: 55.86 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.2486, allocations: 28.14 kB / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.2516, allocations: 2.57 MB / 444.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.252, allocations: 0.7359 MB / 445.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.2521, allocations: 21.94 kB / 445.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2522, allocations: 55.42 kB / 445.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2522, allocations: 0 / 445.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.2775, allocations: 4.049 MB / 449.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.89, allocations: 18.02 kB / 449.4 MB, free: 4.801 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.192609267949592]