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.001379/0.001379, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001589/0.001589, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2584, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003638/0.2621, allocations: 2.456 MB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.2626, allocations: 239.1 kB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2627, allocations: 11.88 kB / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2629, allocations: 47.58 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.263, allocations: 79.27 kB / 434 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.2632, allocations: 59.92 kB / 434.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.2635, allocations: 290.6 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2637, allocations: 69.98 kB / 434.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2638, allocations: 115.6 kB / 434.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.264, allocations: 123.5 kB / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.264, allocations: 20 kB / 434.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.2641, allocations: 24 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.2641, allocations: 51.78 kB / 434.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2643, allocations: 131.3 kB / 434.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2646, allocations: 295.2 kB / 435.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2646, allocations: 0 / 435.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2646, allocations: 0 / 435.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2646, allocations: 4 kB / 435.2 MB, free: 2.688 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.00075/0.2654, allocations: 481.5 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2654, allocations: 8.031 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.2655, allocations: 58.72 kB / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.2655, allocations: 32.75 kB / 435.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.2658, allocations: 186.8 kB / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2659, allocations: 20.88 kB / 435.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.2659, allocations: 24.38 kB / 436 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.2663, allocations: 247.1 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2663, allocations: 3.938 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2664, allocations: 15.98 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2664, allocations: 8 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.2667, allocations: 170.8 kB / 436.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2677, allocations: 0.7533 MB / 437.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.2682, allocations: 283.7 kB / 437.4 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.2685, allocations: 126.4 kB / 437.5 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2685, allocations: 4 kB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2685, allocations: 38.56 kB / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.2685, allocations: 0 / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002502/0.271, allocations: 1.504 MB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.2711, allocations: 110.8 kB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.2713, allocations: 187.2 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2713, allocations: 33.7 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2714, allocations: 144.9 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2716, allocations: 170.5 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2717, allocations: 74.12 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2718, allocations: 338.8 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.272, allocations: 84.84 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.2722, allocations: 162.4 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.2727, allocations: 287.2 kB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2727, allocations: 0 / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005541/0.2732, allocations: 341.1 kB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.2733, allocations: 12.03 kB / 441 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2733, allocations: 4 kB / 441 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2733, allocations: 4 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.2737, allocations: 87.91 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2737, allocations: 4 kB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2738, allocations: 12.94 kB / 441.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.2738, allocations: 16 kB / 441.1 MB, free: 12.3 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.000174/0.274, allocations: 149.7 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.2741, allocations: 35.75 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.2742, allocations: 41.81 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2742, allocations: 4 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.2742, allocations: 3.984 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2742, allocations: 4 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.2757, allocations: 1.026 MB / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2757, allocations: 0 / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.2761, allocations: 95.83 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2761, allocations: 4.281 kB / 442.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.2761, allocations: 16 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.2761, allocations: 12 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2761, allocations: 3.938 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.277, allocations: 0.7325 MB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.277, allocations: 19.86 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.2771, allocations: 20.05 kB / 443.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2773, allocations: 12 kB / 443.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.2773, allocations: 31.89 kB / 443.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.2774, allocations: 12 kB / 443.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.2775, allocations: 136.5 kB / 443.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2775, allocations: 0 / 443.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.2779, allocations: 72 kB / 443.5 MB, free: 9.746 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.001166/0.2791, allocations: 1.271 MB / 444.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.2796, allocations: 255.2 kB / 445.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.2796, allocations: 4.188 kB / 445.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2798, allocations: 135.7 kB / 445.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.2805, allocations: 83.25 kB / 445.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.2849, allocations: 3.279 MB / 448.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.2853, allocations: 0.7645 MB / 449.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.2854, allocations: 42.94 kB / 449.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2855, allocations: 87.42 kB / 449.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2855, allocations: 0 / 449.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.3242, allocations: 6.33 MB / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.45, allocations: 10.45 kB / 455.8 MB, free: 13.38 MB / 366.1 MB " [Timeout remaining time 648] (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.781987759983167]