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.00129/0.00129, allocations: 112.5 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.001414/0.001414, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 55.91 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2499, allocations: 53.36 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003577/0.2535, allocations: 2.462 MB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004738/0.2539, allocations: 239.1 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.254, allocations: 7.938 kB / 434.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2542, allocations: 51.56 kB / 434.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.2544, allocations: 83.27 kB / 434.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.2545, allocations: 55.88 kB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2548, allocations: 290.7 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.255, allocations: 66 kB / 435.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2552, allocations: 115.6 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.2553, allocations: 123.4 kB / 435.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2554, allocations: 24 kB / 435.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.2554, allocations: 24 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.2555, allocations: 43.84 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.2556, allocations: 143.3 kB / 435.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.256, allocations: 283.6 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.256, allocations: 3.938 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.256, allocations: 0 / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.256, allocations: 0 / 435.9 MB, free: 2.879 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.0009532/0.257, allocations: 493.5 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.257, allocations: 12.03 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.949e-05/0.2571, allocations: 4.688 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.2571, allocations: 54.73 kB / 436.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.355e-05/0.2572, allocations: 36.73 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.2576, allocations: 182.8 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.2576, allocations: 20.88 kB / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.2577, allocations: 24.38 kB / 436.7 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.2582, allocations: 243 kB / 436.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2582, allocations: 7.875 kB / 436.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.2582, allocations: 12 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2582, allocations: 4 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.2585, allocations: 165.5 kB / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.2596, allocations: 0.7611 MB / 437.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.2602, allocations: 283.7 kB / 438.2 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.2604, allocations: 126.5 kB / 438.3 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2604, allocations: 4 kB / 438.3 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.2605, allocations: 42.56 kB / 438.3 MB, free: 264 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.452e-06/0.2605, allocations: 0 / 438.3 MB, free: 264 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.00256/0.263, allocations: 1.498 MB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.2631, allocations: 114.8 kB / 439.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2633, allocations: 183.8 kB / 440.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2633, allocations: 37.7 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2634, allocations: 132.9 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.2636, allocations: 182.5 kB / 440.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2637, allocations: 70.14 kB / 440.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2638, allocations: 334.8 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.264, allocations: 92.83 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2642, allocations: 154.5 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.2646, allocations: 288.5 kB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2646, allocations: 0 / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005038/0.2651, allocations: 337.2 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2651, allocations: 4 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2652, allocations: 8.094 kB / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2652, allocations: 4 kB / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.2655, allocations: 95.83 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2655, allocations: 4 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2656, allocations: 12 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2656, allocations: 16 kB / 441.9 MB, free: 12.48 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.0001406/0.2658, allocations: 145.8 kB / 442 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.2659, allocations: 35.75 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.346e-05/0.266, allocations: 41.8 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.266, allocations: 4 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.266, allocations: 0 / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.266, allocations: 11.92 kB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2674, allocations: 1.026 MB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2674, allocations: 7.938 kB / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.2678, allocations: 79.91 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2678, allocations: 4.047 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.2678, allocations: 24.25 kB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.2678, allocations: 11.94 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2678, allocations: 4 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.2686, allocations: 0.7252 MB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2687, allocations: 23.84 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.2687, allocations: 16.19 kB / 444 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2689, allocations: 15.94 kB / 444 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.2689, allocations: 43.81 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.269, allocations: 16 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2691, allocations: 128.5 kB / 444.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 4 kB / 444.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.2695, allocations: 75.94 kB / 444.3 MB, free: 9.914 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.001116/0.2706, allocations: 1.265 MB / 445.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.2711, allocations: 263.4 kB / 445.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2711, allocations: 0 / 445.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.2713, allocations: 135.9 kB / 445.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.2719, allocations: 67.89 kB / 446 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.2758, allocations: 3.284 MB / 449.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.2762, allocations: 0.7724 MB / 450.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.2764, allocations: 34.97 kB / 450.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.2765, allocations: 95.34 kB / 450.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2765, allocations: 0 / 450.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.3065, allocations: 6.358 MB / 456.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.06, allocations: 4.062 kB / 456.6 MB, free: 13.57 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.4358248890494]