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.001243/0.001243, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001291/0.001291, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.376/1.376, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.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.001451/0.001451, allocations: 51.92 kB / 365.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1026, allocations: 52.15 MB / 417.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003638/0.1062, allocations: 2.443 MB / 420.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005079/0.1068, allocations: 239.1 kB / 420.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1069, allocations: 4 kB / 420.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.107, allocations: 39.58 kB / 420.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1072, allocations: 99.19 kB / 420.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1073, allocations: 51.94 kB / 420.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1077, allocations: 290.6 kB / 420.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1079, allocations: 77.69 kB / 421 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.108, allocations: 103.7 kB / 421.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1081, allocations: 119.4 kB / 421.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1082, allocations: 24 kB / 421.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.1082, allocations: 24 kB / 421.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1083, allocations: 55.83 kB / 421.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1084, allocations: 127.3 kB / 421.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.1087, allocations: 298.7 kB / 421.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1087, allocations: 0 / 421.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1087, allocations: 0 / 421.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1088, allocations: 0 / 421.7 MB, free: 8.738 MB / 350.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.0008219/0.1096, allocations: 0.5557 MB / 422.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1096, allocations: 8.031 kB / 422.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.1097, allocations: 62.72 kB / 422.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.1097, allocations: 32.75 kB / 422.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1101, allocations: 249.3 kB / 422.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1101, allocations: 12.94 kB / 422.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.1102, allocations: 32.33 kB / 422.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1106, allocations: 248 kB / 422.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.1106, allocations: 7.938 kB / 422.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1106, allocations: 8 kB / 422.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1106, allocations: 8 kB / 422.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1109, allocations: 155.9 kB / 423.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.112, allocations: 0.801 MB / 423.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.1125, allocations: 279.6 kB / 424.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.1127, allocations: 126.2 kB / 424.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1128, allocations: 4 kB / 424.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.1128, allocations: 46.48 kB / 424.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.1128, allocations: 0 / 424.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002817/0.1156, allocations: 1.947 MB / 426.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.1157, allocations: 106.8 kB / 426.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1159, allocations: 183.2 kB / 426.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.1159, allocations: 41.69 kB / 426.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.116, allocations: 132.9 kB / 426.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1162, allocations: 178.5 kB / 426.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1163, allocations: 70.14 kB / 427 MB, free: 2.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1165, allocations: 339.8 kB / 427.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1166, allocations: 96.77 kB / 427.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1168, allocations: 154.3 kB / 427.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.1172, allocations: 271.1 kB / 427.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1172, allocations: 0 / 427.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005248/0.1177, allocations: 341.3 kB / 428.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1178, allocations: 11.94 kB / 428.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1178, allocations: 0 / 428.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1178, allocations: 4 kB / 428.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.1181, allocations: 99.83 kB / 428.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1181, allocations: 8.031 kB / 428.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1183, allocations: 12 kB / 428.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1183, allocations: 19.94 kB / 428.3 MB, free: 1.578 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.0001474/0.1184, allocations: 150.4 kB / 428.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.1185, allocations: 31.75 kB / 428.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.241e-05/0.1186, allocations: 37.86 kB / 428.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1186, allocations: 12.03 kB / 428.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1186, allocations: 0 / 428.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.1186, allocations: 3.984 kB / 428.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1201, allocations: 1.055 MB / 429.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1201, allocations: 0 / 429.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.1205, allocations: 99.77 kB / 429.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1205, allocations: 4 kB / 429.7 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1205, allocations: 16 kB / 429.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.1205, allocations: 8 kB / 429.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1205, allocations: 4 kB / 429.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.1213, allocations: 0.7289 MB / 430.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.1214, allocations: 104.9 kB / 430.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.1214, allocations: 16.06 kB / 430.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1216, allocations: 8 kB / 430.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1217, allocations: 35.83 kB / 430.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1217, allocations: 20 kB / 430.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1218, allocations: 136.5 kB / 430.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1218, allocations: 0 / 430.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.1223, allocations: 72 kB / 430.8 MB, free: 14.89 MB / 366.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.001234/0.1235, allocations: 1.275 MB / 432.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.124, allocations: 243.8 kB / 432.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.124, allocations: 4 kB / 432.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1242, allocations: 136.5 kB / 432.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.1248, allocations: 70.14 kB / 432.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.1289, allocations: 3.3 MB / 435.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1293, allocations: 0.7683 MB / 436.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1294, allocations: 26.97 kB / 436.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1296, allocations: 99.41 kB / 436.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1296, allocations: 0 / 436.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.1625, allocations: 5.98 MB / 442.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/8.732, allocations: 15.81 kB / 442.7 MB, free: 2.848 MB / 366.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.3373710103333]