Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00124/0.00124, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001272/0.001272, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.89 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1093, allocations: 53.3 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004194/0.1135, allocations: 2.461 MB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.1141, allocations: 235.1 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1142, allocations: 4 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.1143, allocations: 43.58 kB / 429.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1145, allocations: 87.2 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1147, allocations: 59.88 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.115, allocations: 294.6 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1152, allocations: 69.64 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1154, allocations: 107.6 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1155, allocations: 115.5 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.1156, allocations: 24 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.466e-05/0.1156, allocations: 24 kB / 430.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.1157, allocations: 51.77 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1158, allocations: 135.4 kB / 430.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.1162, allocations: 298.6 kB / 430.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1162, allocations: 4 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1162, allocations: 0 / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.1162, allocations: 4 kB / 430.8 MB, free: 0.8438 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.0008843/0.1171, allocations: 0.5378 MB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1172, allocations: 12.03 kB / 431.4 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.206e-05/0.1172, allocations: 62.72 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.1174, allocations: 28.75 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2049/0.3222, allocations: 243.4 kB / 431.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3222, allocations: 18.22 kB / 431.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.3223, allocations: 27.97 kB / 431.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.3227, allocations: 244.7 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.3228, allocations: 2.391 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.3228, allocations: 9.938 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3228, allocations: 7.906 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.3231, allocations: 163.9 kB / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.3241, allocations: 0.7917 MB / 433 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.3245, allocations: 287.3 kB / 433.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3247, allocations: 120.8 kB / 433.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3247, allocations: 9.375 kB / 433.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.3248, allocations: 35.7 kB / 433.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/0.3248, allocations: 7.797 kB / 433.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002162/0.3269, allocations: 1.945 MB / 435.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.327, allocations: 118.5 kB / 435.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3271, allocations: 186.2 kB / 435.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3271, allocations: 30.36 kB / 435.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.3272, allocations: 140.5 kB / 435.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3272, allocations: 172.4 kB / 436 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.3273, allocations: 73.83 kB / 436.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.3274, allocations: 341.3 kB / 436.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3275, allocations: 87.27 kB / 436.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3277, allocations: 158.5 kB / 436.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.328, allocations: 273.7 kB / 436.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.328, allocations: 1.25 kB / 436.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004455/0.3285, allocations: 349.7 kB / 437.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3285, allocations: 5.188 kB / 437.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3285, allocations: 2.344 kB / 437.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3285, allocations: 3.562 kB / 437.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.3288, allocations: 99.64 kB / 437.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3288, allocations: 5.125 kB / 437.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3289, allocations: 11.25 kB / 437.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.329, allocations: 14.91 kB / 437.4 MB, free: 7.617 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.000106/0.3291, allocations: 149.1 kB / 437.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.3291, allocations: 27.02 kB / 437.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.3292, allocations: 39.98 kB / 437.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.3292, allocations: 9.5 kB / 437.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.3292, allocations: 2.062 kB / 437.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3292, allocations: 5.203 kB / 437.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.3304, allocations: 1.056 MB / 438.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3304, allocations: 2.844 kB / 438.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.3308, allocations: 88.45 kB / 438.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.3308, allocations: 4.812 kB / 438.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3308, allocations: 12.88 kB / 438.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.3308, allocations: 15.38 kB / 438.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3308, allocations: 3.969 kB / 438.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.3314, allocations: 0.716 MB / 439.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3315, allocations: 108 kB / 439.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.3315, allocations: 20.14 kB / 439.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.3317, allocations: 7.25 kB / 439.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3318, allocations: 32.69 kB / 439.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3318, allocations: 15.06 kB / 439.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.3319, allocations: 140 kB / 439.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 3.938 kB / 439.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.3323, allocations: 76.28 kB / 439.9 MB, free: 5.875 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.0007686/0.3331, allocations: 1.27 MB / 441.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.3335, allocations: 263.1 kB / 441.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.3336, allocations: 0.9375 kB / 441.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3337, allocations: 134.1 kB / 441.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.3344, allocations: 70.61 kB / 441.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.3379, allocations: 3.293 MB / 444.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3381, allocations: 0.7671 MB / 445.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.3382, allocations: 32.64 kB / 445.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3384, allocations: 91.14 kB / 445.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3384, allocations: 0 / 445.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.3795, allocations: 5.99 MB / 451.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.792, allocations: 1.719 kB / 451.8 MB, free: 0.7656 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.060572418849915] 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.862254007719457 8.87722059 8.757867858 Calling exit ...