Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 210.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.91 kB / 378.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.236, allocations: 53.4 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003818/0.2399, allocations: 2.273 MB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.2403, allocations: 239.1 kB / 434.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2404, allocations: 11.94 kB / 434.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2406, allocations: 39.58 kB / 434.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.2408, allocations: 83.27 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.2409, allocations: 55.92 kB / 434.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.2412, allocations: 294.6 kB / 434.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.2414, allocations: 76.09 kB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2415, allocations: 115.6 kB / 435.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2417, allocations: 115.5 kB / 435.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.2417, allocations: 24 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.2418, allocations: 20 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.2418, allocations: 55.83 kB / 435.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2419, allocations: 107.5 kB / 435.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.2423, allocations: 294.8 kB / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2423, allocations: 0 / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2423, allocations: 7.938 kB / 435.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2423, allocations: 0 / 435.7 MB, free: 2.695 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.000738/0.243, allocations: 485.5 kB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2431, allocations: 8.031 kB / 436.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.2431, allocations: 8.688 kB / 436.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.2431, allocations: 58.72 kB / 436.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.2432, allocations: 36.75 kB / 436.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.2435, allocations: 194.8 kB / 436.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.2435, allocations: 12.88 kB / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.2436, allocations: 28.38 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.244, allocations: 243 kB / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.244, allocations: 0 / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.244, allocations: 8 kB / 436.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.244, allocations: 8 kB / 436.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.2443, allocations: 170.8 kB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2454, allocations: 0.7221 MB / 437.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.2459, allocations: 279.7 kB / 437.9 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.2461, allocations: 122.5 kB / 438 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2461, allocations: 4 kB / 438 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2462, allocations: 34.56 kB / 438.1 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2462, allocations: 4 kB / 438.1 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002582/0.2488, allocations: 1.496 MB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.2489, allocations: 111 kB / 439.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.2491, allocations: 191.2 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2491, allocations: 29.7 kB / 439.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.2493, allocations: 144.8 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2494, allocations: 166.5 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2495, allocations: 74.12 kB / 440.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.2497, allocations: 338.8 kB / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.2499, allocations: 96.83 kB / 440.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2501, allocations: 158.2 kB / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.2506, allocations: 280 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2506, allocations: 0 / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004905/0.2511, allocations: 341.1 kB / 441.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2511, allocations: 10.97 kB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2511, allocations: 0 / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2511, allocations: 8.094 kB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.2514, allocations: 91.91 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.2514, allocations: 11.92 kB / 441.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2515, allocations: 8 kB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2516, allocations: 16 kB / 441.6 MB, free: 12.34 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.0001419/0.2517, allocations: 149.8 kB / 441.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.2518, allocations: 31.75 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.689e-05/0.2519, allocations: 37.8 kB / 441.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2519, allocations: 8 kB / 441.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2519, allocations: 4 kB / 441.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2519, allocations: 48 / 441.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.2534, allocations: 0.9911 MB / 442.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.2534, allocations: 7.938 kB / 442.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.2538, allocations: 96.17 kB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2538, allocations: 8 kB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.2538, allocations: 8 kB / 442.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/0.2538, allocations: 8.406 kB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2538, allocations: 4 kB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.2547, allocations: 0.7358 MB / 443.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.2547, allocations: 31.81 kB / 443.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2548, allocations: 12 kB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.255, allocations: 12 kB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.255, allocations: 39.81 kB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.2551, allocations: 16 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.2552, allocations: 140.5 kB / 443.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2552, allocations: 0 / 443.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.2556, allocations: 72 kB / 444 MB, free: 9.812 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.001145/0.2567, allocations: 1.259 MB / 445.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.2572, allocations: 254.6 kB / 445.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2572, allocations: 4 kB / 445.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.2574, allocations: 135.8 kB / 445.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.258, allocations: 67.27 kB / 445.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.2619, allocations: 3.279 MB / 449 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2622, allocations: 163.8 kB / 449.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.2623, allocations: 34.97 kB / 449.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2625, allocations: 91.41 kB / 449.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2625, allocations: 0 / 449.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.2979, allocations: 6.453 MB / 455.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.22, allocations: 8 kB / 455.7 MB, free: 13.98 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.549738144036382]