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.0008739/0.0008739, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008364/0.0008364, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8835/0.8835, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.071e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002472/0.002492, allocations: 2.275 MB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.002953, allocations: 239.1 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003058, allocations: 7.938 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.003195, allocations: 39.58 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.003318, allocations: 95.14 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.00348, allocations: 59.86 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.003693, allocations: 306.3 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.00385, allocations: 70.05 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.003977, allocations: 167.6 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.00408, allocations: 83.78 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.004116, allocations: 20 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.004138, allocations: 28 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.004172, allocations: 55.75 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.00424, allocations: 91.81 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.004473, allocations: 295 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.004477, allocations: 0 / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004478, allocations: 0 / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.004484, allocations: 0 / 328.3 MB, free: 12.09 MB / 298.7 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.0005448/0.005029, allocations: 481.5 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.005072, allocations: 11.98 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.005118, allocations: 62.72 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.005159, allocations: 32.75 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.005441, allocations: 182 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.005459, allocations: 20.88 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.005495, allocations: 28.31 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.005762, allocations: 239.1 kB / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.005777, allocations: 8.188 kB / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.005793, allocations: 8.375 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.005802, allocations: 12.12 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.005985, allocations: 167.8 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.006676, allocations: 0.7066 MB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.007041, allocations: 275.7 kB / 330.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.007207, allocations: 126.5 kB / 330.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.007436, allocations: 11.94 kB / 330.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.007454, allocations: 34.56 kB / 330.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.007456, allocations: 0 / 330.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.002053/0.009509, allocations: 1.504 MB / 332.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.009555, allocations: 110.8 kB / 332.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.009677, allocations: 195 kB / 332.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.009694, allocations: 33.7 kB / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.00976, allocations: 140.8 kB / 332.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.009831, allocations: 166.9 kB / 332.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.0099, allocations: 74.16 kB / 332.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.009982, allocations: 338.8 kB / 333.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01009, allocations: 96.89 kB / 333.3 MB, free: 6.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.01022, allocations: 159 kB / 333.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.01057, allocations: 287.9 kB / 333.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01057, allocations: 0 / 333.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003255/0.0109, allocations: 341.1 kB / 334.1 MB, free: 5.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01091, allocations: 8 kB / 334.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01092, allocations: 0 / 334.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01094, allocations: 7.938 kB / 334.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.01113, allocations: 99.83 kB / 334.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01114, allocations: 4 kB / 334.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.01119, allocations: 8 kB / 334.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01121, allocations: 20.09 kB / 334.2 MB, free: 5.73 MB / 298.7 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 9.651e-05/0.0113, allocations: 149.7 kB / 334.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.01135, allocations: 27.86 kB / 334.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.0114, allocations: 37.8 kB / 334.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.0114, allocations: 11.94 kB / 334.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.01141, allocations: 0 / 334.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01141, allocations: 3.984 kB / 334.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.01228, allocations: 0.9765 MB / 335.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01229, allocations: 4 kB / 335.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.01249, allocations: 95.83 kB / 335.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01249, allocations: 4 kB / 335.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01251, allocations: 8 kB / 335.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.01251, allocations: 7.938 kB / 335.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01252, allocations: 4.281 kB / 335.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.01301, allocations: 0.7251 MB / 336.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.01304, allocations: 23.81 kB / 336.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01307, allocations: 23.98 kB / 336.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.01318, allocations: 8 kB / 336.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.01321, allocations: 31.89 kB / 336.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01322, allocations: 16 kB / 336.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.155e-05/0.01329, allocations: 140.2 kB / 336.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 0 / 336.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.01357, allocations: 72 kB / 336.6 MB, free: 3.234 MB / 298.7 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.000893/0.01446, allocations: 1.274 MB / 337.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.01477, allocations: 247.8 kB / 338.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01477, allocations: 0 / 338.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01489, allocations: 140.4 kB / 338.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.01537, allocations: 70.64 kB / 338.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.01785, allocations: 3.149 MB / 341.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01798, allocations: 171.7 kB / 341.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.01808, allocations: 30.97 kB / 341.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01818, allocations: 92.47 kB / 341.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01818, allocations: 0 / 341.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.03634, allocations: 6.814 MB / 348.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.884, allocations: 0 / 348.6 MB, free: 7.148 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/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: 8.504833983257413]