Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.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.001535/0.001535, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001801/0.001801, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 377.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 53.37 MB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003614/0.2361, allocations: 2.272 MB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004956/0.2366, allocations: 239.2 kB / 433.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2367, allocations: 7.938 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.2369, allocations: 43.56 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.237, allocations: 87.27 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2372, allocations: 59.86 kB / 433.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.2375, allocations: 290.6 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2377, allocations: 73.98 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2379, allocations: 111.6 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.238, allocations: 119.5 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.2381, allocations: 20 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.2381, allocations: 28 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.2382, allocations: 51.84 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2383, allocations: 115.4 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.2386, allocations: 288.5 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2386, allocations: 3.938 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2386, allocations: 0 / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2386, allocations: 0 / 434.8 MB, free: 2.891 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007438/0.2394, allocations: 485.5 kB / 435.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2394, allocations: 12.03 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.2395, allocations: 50.73 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.2395, allocations: 40.69 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.2398, allocations: 186.8 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.2399, allocations: 20.86 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.2399, allocations: 24.38 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.2403, allocations: 247.1 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2403, allocations: 3.938 kB / 435.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2404, allocations: 12 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2404, allocations: 11.94 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.2406, allocations: 155.9 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.2417, allocations: 0.7143 MB / 436.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.2422, allocations: 279.7 kB / 437.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.2424, allocations: 118.5 kB / 437.2 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2424, allocations: 4 kB / 437.2 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2425, allocations: 38.56 kB / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.522e-06/0.2425, allocations: 0 / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002548/0.245, allocations: 1.504 MB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.2451, allocations: 115.3 kB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2453, allocations: 191.8 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.2453, allocations: 33.7 kB / 439.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.2454, allocations: 144.8 kB / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2455, allocations: 174.5 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2456, allocations: 74.09 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2458, allocations: 338.8 kB / 439.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.2459, allocations: 84.84 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.2461, allocations: 162.2 kB / 440 MB, free: 13.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.2465, allocations: 287.6 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2465, allocations: 0 / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004827/0.247, allocations: 339.9 kB / 440.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.247, allocations: 7.938 kB / 440.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.247, allocations: 4 kB / 440.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.247, allocations: 4 kB / 440.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2474, allocations: 99.83 kB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2474, allocations: 4 kB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2475, allocations: 12 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2475, allocations: 16.09 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001395/0.2476, allocations: 149.7 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.2477, allocations: 35.78 kB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.2478, allocations: 33.81 kB / 441 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2478, allocations: 4 kB / 441 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2478, allocations: 0 / 441 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2478, allocations: 7.984 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.2492, allocations: 0.9872 MB / 442 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2492, allocations: 3.984 kB / 442 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.2495, allocations: 87.84 kB / 442.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2496, allocations: 4 kB / 442.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.2496, allocations: 16 kB / 442.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.2496, allocations: 11.92 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2496, allocations: 4 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.2503, allocations: 0.7289 MB / 442.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.2504, allocations: 31.8 kB / 442.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.2504, allocations: 12.06 kB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.2506, allocations: 8 kB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.2507, allocations: 35.83 kB / 442.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.2507, allocations: 16 kB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2508, allocations: 136.6 kB / 443.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2508, allocations: 7.875 kB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.2512, allocations: 72 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.001047/0.2523, allocations: 1.266 MB / 444.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.2527, allocations: 256.5 kB / 444.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2527, allocations: 0 / 444.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.2529, allocations: 132.3 kB / 444.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.2536, allocations: 79.94 kB / 444.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.2573, allocations: 3.285 MB / 448.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.2575, allocations: 159.8 kB / 448.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.2576, allocations: 38.94 kB / 448.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.2578, allocations: 91.41 kB / 448.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2578, allocations: 0 / 448.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.293, allocations: 6.795 MB / 455.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.78, allocations: 11.62 kB / 455.2 MB, free: 13.86 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.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.039201495004818]