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.001347/0.001347, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001595/0.001595, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001544/0.001544, allocations: 51.92 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2472, allocations: 53.35 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003946/0.2511, allocations: 2.464 MB / 433.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006424/0.2518, allocations: 239.1 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2519, allocations: 7.938 kB / 433.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.2521, allocations: 43.58 kB / 433.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2522, allocations: 87.25 kB / 434 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2524, allocations: 55.92 kB / 434 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.2528, allocations: 286.6 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.253, allocations: 77.98 kB / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2531, allocations: 111.6 kB / 434.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2533, allocations: 119.5 kB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.2534, allocations: 23.94 kB / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.323e-05/0.2534, allocations: 24 kB / 434.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.2535, allocations: 51.84 kB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2536, allocations: 131.3 kB / 434.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.254, allocations: 291.2 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.254, allocations: 0 / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.254, allocations: 0 / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.254, allocations: 0 / 435.1 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.0008177/0.2548, allocations: 489.5 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2548, allocations: 8.031 kB / 435.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.2549, allocations: 58.73 kB / 435.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.255, allocations: 32.75 kB / 435.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2553, allocations: 186.8 kB / 435.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2554, allocations: 20.88 kB / 435.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.2554, allocations: 24.38 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.2558, allocations: 239.1 kB / 436.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2559, allocations: 3.938 kB / 436.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2559, allocations: 12 kB / 436.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2559, allocations: 7.938 kB / 436.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2562, allocations: 176.2 kB / 436.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2573, allocations: 0.7571 MB / 437.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.2578, allocations: 279.7 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.2581, allocations: 122.5 kB / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2581, allocations: 7.938 kB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2581, allocations: 42.55 kB / 437.5 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2581, allocations: 4 kB / 437.5 MB, free: 284 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002667/0.2608, allocations: 1.494 MB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.2609, allocations: 106.8 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2611, allocations: 191.8 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2611, allocations: 29.7 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2612, allocations: 144.9 kB / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.2614, allocations: 171.4 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2615, allocations: 74.12 kB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2616, allocations: 338.8 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2618, allocations: 92.83 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.262, allocations: 162.4 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.2624, allocations: 276.6 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2624, allocations: 3.938 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005427/0.263, allocations: 349.1 kB / 440.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.263, allocations: 7.938 kB / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.263, allocations: 8.094 kB / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.263, allocations: 7.938 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2633, allocations: 91.89 kB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2634, allocations: 4 kB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2635, allocations: 8 kB / 441.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2635, allocations: 16 kB / 441.1 MB, free: 12.49 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.0001665/0.2637, allocations: 149.7 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.2638, allocations: 35.75 kB / 441.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.201e-05/0.2639, allocations: 41.8 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2639, allocations: 4 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2639, allocations: 0 / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2639, allocations: 4 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.2654, allocations: 1.03 MB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2654, allocations: 3.938 kB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.2658, allocations: 87.91 kB / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.2658, allocations: 7.938 kB / 442.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.2658, allocations: 8.281 kB / 442.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.2658, allocations: 15.98 kB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.2658, allocations: 3.938 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.2667, allocations: 0.7248 MB / 443.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.2668, allocations: 31.84 kB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.2668, allocations: 12 kB / 443.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.267, allocations: 12 kB / 443.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.2671, allocations: 35.89 kB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.2671, allocations: 12 kB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.2672, allocations: 136.5 kB / 443.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2672, allocations: 0 / 443.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.2677, allocations: 72 kB / 443.5 MB, free: 9.941 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.001219/0.2689, allocations: 1.274 MB / 444.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.2694, allocations: 253.1 kB / 445 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2694, allocations: 4.094 kB / 445 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.2696, allocations: 143.8 kB / 445.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.2703, allocations: 61.73 kB / 445.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.2745, allocations: 3.286 MB / 448.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.275, allocations: 0.7684 MB / 449.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000161/0.2751, allocations: 34.95 kB / 449.3 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.2753, allocations: 95.34 kB / 449.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2753, allocations: 0 / 449.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/0.3152, allocations: 6.333 MB / 455.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.72, allocations: 4.062 kB / 455.7 MB, free: 13.61 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.08694226690568]