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.001246/0.001246, allocations: 120.8 kB / 17.74 MB, free: 5.355 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.001284/0.001284, allocations: 186.9 kB / 20.67 MB, free: 2.426 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.39/1.39, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] 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.001522/0.001522, allocations: 48.06 kB / 357.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 49.44 MB / 406.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003717/0.1066, allocations: 2.435 MB / 409.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.1072, allocations: 235.1 kB / 409.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1073, allocations: 7.938 kB / 409.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1075, allocations: 39.58 kB / 409.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1077, allocations: 87.25 kB / 409.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.1078, allocations: 51.92 kB / 409.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.1082, allocations: 294.6 kB / 410 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.1084, allocations: 109.9 kB / 410.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1086, allocations: 107.6 kB / 410.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1088, allocations: 119.5 kB / 410.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.1088, allocations: 20 kB / 410.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.1089, allocations: 24 kB / 410.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1089, allocations: 51.84 kB / 410.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1091, allocations: 131.3 kB / 410.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.1095, allocations: 294.8 kB / 410.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1095, allocations: 3.938 kB / 410.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1095, allocations: 0 / 410.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.1095, allocations: 0 / 410.9 MB, free: 3.344 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.0008954/0.1104, allocations: 0.5494 MB / 411.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1105, allocations: 12.02 kB / 411.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.1106, allocations: 58.73 kB / 411.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.1106, allocations: 32.75 kB / 411.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.111, allocations: 237.4 kB / 411.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1111, allocations: 20.94 kB / 411.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.1111, allocations: 28.33 kB / 411.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1116, allocations: 244 kB / 412.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.1116, allocations: 7.938 kB / 412.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1117, allocations: 8 kB / 412.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1117, allocations: 4 kB / 412.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.1121, allocations: 167.8 kB / 412.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1132, allocations: 0.7971 MB / 413 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.1138, allocations: 299.6 kB / 413.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.114, allocations: 134.5 kB / 413.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1141, allocations: 7.938 kB / 413.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1141, allocations: 34.56 kB / 413.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.1141, allocations: 4 kB / 413.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002851/0.117, allocations: 1.937 MB / 415.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1171, allocations: 114.8 kB / 415.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1173, allocations: 191.2 kB / 415.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1173, allocations: 33.7 kB / 415.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1175, allocations: 144.8 kB / 415.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1176, allocations: 170.5 kB / 416.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1177, allocations: 70.14 kB / 416.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1179, allocations: 338.8 kB / 416.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1181, allocations: 88.84 kB / 416.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1183, allocations: 162.3 kB / 416.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.1187, allocations: 280.2 kB / 417 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1187, allocations: 0.9375 kB / 417 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005292/0.1193, allocations: 337.2 kB / 417.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1193, allocations: 10.44 kB / 417.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1193, allocations: 11.98 kB / 417.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1193, allocations: 4 kB / 417.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.1197, allocations: 91.84 kB / 417.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1197, allocations: 4 kB / 417.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1198, allocations: 12 kB / 417.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1199, allocations: 20.09 kB / 417.5 MB, free: 12.17 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.0001694/0.12, allocations: 157.6 kB / 417.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.1201, allocations: 39.69 kB / 417.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1202, allocations: 33.88 kB / 417.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1203, allocations: 4 kB / 417.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1203, allocations: 4 kB / 417.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.1203, allocations: 3.984 kB / 417.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1218, allocations: 1.055 MB / 418.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1219, allocations: 4 kB / 418.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1222, allocations: 99.77 kB / 418.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.1222, allocations: 4 kB / 418.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1223, allocations: 8 kB / 418.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.1223, allocations: 4 kB / 418.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1223, allocations: 11.88 kB / 418.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.1232, allocations: 0.7248 MB / 419.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.1233, allocations: 104.9 kB / 419.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1233, allocations: 12.06 kB / 419.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1235, allocations: 8 kB / 419.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1236, allocations: 35.89 kB / 419.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.1236, allocations: 16 kB / 419.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1238, allocations: 140.5 kB / 419.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1238, allocations: 0 / 419.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.1242, allocations: 72 kB / 420 MB, free: 9.48 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.001214/0.1254, allocations: 1.278 MB / 421.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.126, allocations: 259.8 kB / 421.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.126, allocations: 0 / 421.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.1262, allocations: 143.7 kB / 421.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.1269, allocations: 81.09 kB / 421.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.1311, allocations: 3.281 MB / 425 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.1316, allocations: 0.7683 MB / 425.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.1318, allocations: 38.94 kB / 425.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.132, allocations: 87.42 kB / 425.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.132, allocations: 0 / 425.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2069/0.3388, allocations: 5.943 MB / 431.9 MB, free: 22.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.68, allocations: 11.39 kB / 431.9 MB, free: 22.8 MB / 350.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] [Calling os._exit(0), Time elapsed: 10.935527445049956] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'damper2.s_rel', 'damper2.v_rel', 'springDamper3.s_rel', 'springDamper3.v_rel'] 8.751715132035315 8.772504833 8.659847447 Calling exit ...