Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 370.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 52.18 MB / 422.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003704/0.2486, allocations: 2.439 MB / 425.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.2492, allocations: 247.1 kB / 425.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2493, allocations: 7.938 kB / 425.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.2494, allocations: 43.58 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2496, allocations: 87.2 kB / 425.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.2498, allocations: 59.86 kB / 425.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2501, allocations: 282.7 kB / 425.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2503, allocations: 81.91 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2504, allocations: 115.6 kB / 426 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.2506, allocations: 119.5 kB / 426.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.2506, allocations: 20 kB / 426.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.2507, allocations: 24 kB / 426.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.2507, allocations: 51.78 kB / 426.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2508, allocations: 131.4 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.2512, allocations: 295.1 kB / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2512, allocations: 4 kB / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2512, allocations: 0 / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.2512, allocations: 0 / 426.6 MB, free: 10.68 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.0008182/0.252, allocations: 485.5 kB / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2521, allocations: 12.02 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/0.2521, allocations: 58.73 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.2522, allocations: 32.75 kB / 427.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2526, allocations: 183.5 kB / 427.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.2526, allocations: 20.88 kB / 427.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.2527, allocations: 32.33 kB / 427.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.2533, allocations: 235.2 kB / 427.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.2533, allocations: 7.875 kB / 427.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.2533, allocations: 12 kB / 427.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2533, allocations: 7.984 kB / 427.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.2536, allocations: 155.9 kB / 427.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.2547, allocations: 0.7573 MB / 428.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.2553, allocations: 283.6 kB / 428.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.2555, allocations: 122.5 kB / 429 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.2555, allocations: 4.219 kB / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2556, allocations: 42.44 kB / 429 MB, free: 8.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 4.93e-06/0.2556, allocations: 4 kB / 429 MB, free: 8.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002579/0.2581, allocations: 1.5 MB / 430.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.2582, allocations: 110.8 kB / 430.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2584, allocations: 193 kB / 430.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2585, allocations: 29.7 kB / 430.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.2586, allocations: 152.8 kB / 431 MB, free: 5.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2587, allocations: 162.5 kB / 431.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2588, allocations: 78.12 kB / 431.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.259, allocations: 339.8 kB / 431.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2591, allocations: 88.84 kB / 431.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2594, allocations: 154.3 kB / 431.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.2598, allocations: 283.2 kB / 432.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2598, allocations: 0 / 432.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005073/0.2603, allocations: 341.2 kB / 432.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2603, allocations: 7.938 kB / 432.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2603, allocations: 11.97 kB / 432.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2603, allocations: 8.094 kB / 432.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.2606, allocations: 87.84 kB / 432.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2606, allocations: 7.938 kB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2608, allocations: 12 kB / 432.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.2608, allocations: 19.98 kB / 432.5 MB, free: 4.281 MB / 334.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.00014/0.2609, allocations: 149.7 kB / 432.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.261, allocations: 31.75 kB / 432.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.2611, allocations: 41.75 kB / 432.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2611, allocations: 4 kB / 432.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2611, allocations: 7.984 kB / 432.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2611, allocations: 0 / 432.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.2625, allocations: 1.022 MB / 433.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2625, allocations: 0 / 433.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.2629, allocations: 99.77 kB / 433.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2629, allocations: 4 kB / 433.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2629, allocations: 8 kB / 433.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.2629, allocations: 8 kB / 433.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2629, allocations: 4.281 kB / 433.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.2637, allocations: 0.7248 MB / 434.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.2638, allocations: 27.88 kB / 434.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.2638, allocations: 15.98 kB / 434.7 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.264, allocations: 12 kB / 434.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.2641, allocations: 35.83 kB / 434.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2641, allocations: 12 kB / 434.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2642, allocations: 143.3 kB / 434.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2642, allocations: 0 / 434.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.2646, allocations: 72 kB / 435 MB, free: 1.73 MB / 334.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.001097/0.2657, allocations: 1.263 MB / 436.2 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.2661, allocations: 256.6 kB / 436.5 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2661, allocations: 0 / 436.5 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2663, allocations: 151.2 kB / 436.6 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.267, allocations: 68.34 kB / 436.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.2708, allocations: 3.285 MB / 440 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.2712, allocations: 0.7645 MB / 440.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.2714, allocations: 42.94 kB / 440.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.2715, allocations: 91.41 kB / 440.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2715, allocations: 0 / 440.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.3059, allocations: 6.332 MB / 447.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.38, allocations: 8.062 kB / 447.2 MB, free: 5.391 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.628782310988754]