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.001459/0.001459, allocations: 116.6 kB / 18.49 MB, free: 4.59 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.001185/0.001185, allocations: 193 kB / 21.43 MB, free: 1.656 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.359/1.359, allocations: 225.6 MB / 249.8 MB, free: 3.613 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 43.94 kB / 366.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09939, allocations: 52.15 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003522/0.1029, allocations: 2.433 MB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.1034, allocations: 239.1 kB / 421.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1035, allocations: 7.938 kB / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.1037, allocations: 43.58 kB / 421.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1038, allocations: 83.27 kB / 421.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.104, allocations: 59.91 kB / 421.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.1043, allocations: 294.6 kB / 421.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1045, allocations: 69.69 kB / 421.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1046, allocations: 115.6 kB / 421.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1048, allocations: 119.5 kB / 421.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.1048, allocations: 24 kB / 421.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.1048, allocations: 20 kB / 422 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.1049, allocations: 55.83 kB / 422 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.105, allocations: 131.3 kB / 422.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1054, allocations: 294.8 kB / 422.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1054, allocations: 0 / 422.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1054, allocations: 3.938 kB / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1054, allocations: 0 / 422.4 MB, free: 8.66 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.00082/0.1062, allocations: 0.5533 MB / 423 MB, free: 8.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1062, allocations: 8.031 kB / 423 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.1063, allocations: 8.75 kB / 423 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.1063, allocations: 58.73 kB / 423.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.1064, allocations: 28.75 kB / 423.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1067, allocations: 245.4 kB / 423.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1067, allocations: 16.94 kB / 423.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.1068, allocations: 28.33 kB / 423.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.1072, allocations: 255.7 kB / 423.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1072, allocations: 0 / 423.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.1072, allocations: 12 kB / 423.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1072, allocations: 4 kB / 423.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.1075, allocations: 162.2 kB / 423.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1085, allocations: 0.801 MB / 424.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.109, allocations: 283.7 kB / 424.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1093, allocations: 122.5 kB / 425 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1093, allocations: 7.938 kB / 425 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1093, allocations: 34.56 kB / 425 MB, free: 5.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.1093, allocations: 4 kB / 425 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002796/0.1121, allocations: 1.947 MB / 427 MB, free: 3.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.1122, allocations: 106.8 kB / 427.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1124, allocations: 195.2 kB / 427.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1124, allocations: 29.7 kB / 427.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1125, allocations: 144.9 kB / 427.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1126, allocations: 171.4 kB / 427.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1127, allocations: 78.12 kB / 427.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1129, allocations: 338.8 kB / 428 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.113, allocations: 88.84 kB / 428.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.1132, allocations: 162.3 kB / 428.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.1136, allocations: 278.7 kB / 428.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1136, allocations: 0 / 428.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004953/0.1141, allocations: 343 kB / 428.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1141, allocations: 7.984 kB / 428.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1141, allocations: 4 kB / 428.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1142, allocations: 12.03 kB / 428.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.1145, allocations: 87.84 kB / 429 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1145, allocations: 4 kB / 429 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1146, allocations: 12 kB / 429 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1146, allocations: 16 kB / 429 MB, free: 1.492 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.0001457/0.1148, allocations: 154.4 kB / 429.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.1149, allocations: 35.75 kB / 429.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.115, allocations: 33.88 kB / 429.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.115, allocations: 8 kB / 429.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.115, allocations: 0 / 429.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.115, allocations: 7.984 kB / 429.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1164, allocations: 1.05 MB / 430.3 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1164, allocations: 7.938 kB / 430.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.1167, allocations: 87.89 kB / 430.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1167, allocations: 8 kB / 430.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1168, allocations: 8 kB / 430.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1168, allocations: 4.281 kB / 430.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.1168, allocations: 12.06 kB / 430.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.1176, allocations: 0.7286 MB / 431.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.1176, allocations: 109 kB / 431.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1177, allocations: 12.11 kB / 431.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1179, allocations: 16 kB / 431.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1179, allocations: 35.91 kB / 431.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1179, allocations: 12 kB / 431.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1181, allocations: 132.5 kB / 431.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1181, allocations: 0 / 431.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.1185, allocations: 76 kB / 431.5 MB, free: 14.81 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.001085/0.1196, allocations: 1.278 MB / 432.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.12, allocations: 241.8 kB / 433.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.12, allocations: 96 / 433.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1202, allocations: 148 kB / 433.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.1208, allocations: 72.66 kB / 433.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.1247, allocations: 3.292 MB / 436.6 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1251, allocations: 0.7683 MB / 437.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1252, allocations: 38.94 kB / 437.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1253, allocations: 87.42 kB / 437.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1253, allocations: 0 / 437.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.1524, allocations: 6.017 MB / 443.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.409, allocations: 12.92 kB / 443.5 MB, free: 2.746 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 10.865458576008677]