Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001778/0.001778, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002114/0.002114, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 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 1.481/1.481, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2335/0.2335, allocations: 46.89 MB / 357.4 MB, free: 10.62 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002451/0.002451, allocations: 79.88 kB / 0.4912 GB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1418, allocations: 65.98 MB / 0.5557 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0183/0.1601, allocations: 10.56 MB / 0.566 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1701, allocations: 3.264 MB / 0.5692 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.1718, allocations: 51.88 kB / 0.5692 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004998/0.1768, allocations: 2.402 MB / 0.5715 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005192/0.182, allocations: 1.252 MB / 0.5728 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1841, allocations: 0.5224 MB / 0.5733 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00616/0.1903, allocations: 2.922 MB / 0.5761 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/0.1954, allocations: 2.572 MB / 0.5786 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.1988, allocations: 1.277 MB / 0.5799 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004264/0.2031, allocations: 1.845 MB / 0.5817 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.2043, allocations: 292 kB / 0.582 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.207, allocations: 1.034 MB / 0.583 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.2094, allocations: 1.616 MB / 0.5846 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002653/0.212, allocations: 1.961 MB / 0.5865 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009277/0.2213, allocations: 6.26 MB / 0.5926 GB, free: 472 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.2213, allocations: 0 / 0.5926 GB, free: 472 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2213, allocations: 3.938 kB / 0.5926 GB, free: 468 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.2216, allocations: 4 kB / 0.5926 GB, free: 464 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.2743/0.4959, allocations: 4.356 MB / 0.5969 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.496, allocations: 9.188 kB / 0.5969 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001567/0.4975, allocations: 0.693 MB / 0.5975 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007107/0.5046, allocations: 1.834 MB / 0.5993 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/0.5109, allocations: 1.782 MB / 0.6011 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.5112, allocations: 226.3 kB / 0.6013 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.5127, allocations: 299.7 kB / 0.6016 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.5347, allocations: 10.66 MB / 0.612 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.5348, allocations: 36.08 kB / 0.612 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.5352, allocations: 145.2 kB / 0.6122 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003275/0.5385, allocations: 2.043 MB / 0.6141 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.5563, allocations: 9.355 MB / 0.6233 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04524/0.6015, allocations: 37.9 MB / 0.6603 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.6122, allocations: 4.05 MB / 0.6642 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.6152, allocations: 2.08 MB / 0.6663 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.6256, allocations: 6.113 MB / 0.6722 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.6257, allocations: 51.81 kB / 0.6723 GB, free: 1.188 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 4.749e-06/0.6257, allocations: 4 kB / 0.6723 GB, free: 1.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.06616/0.6919, allocations: 22.21 MB / 0.694 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.692, allocations: 147.8 kB / 0.6941 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.6973, allocations: 3.383 MB / 0.6974 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004686/0.6978, allocations: 57.61 kB / 0.6975 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.7001, allocations: 2.92 MB / 0.7003 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.7011, allocations: 0.8295 MB / 0.7011 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.7028, allocations: 1.199 MB / 0.7023 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7029, allocations: 301.1 kB / 0.7026 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/0.7066, allocations: 2.346 MB / 0.7049 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006751/0.7133, allocations: 5.792 MB / 0.7106 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.7258, allocations: 8.816 MB / 0.7192 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/0.7259, allocations: 32 kB / 0.7192 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01983/0.7458, allocations: 8.698 MB / 0.7277 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.7459, allocations: 58.03 kB / 0.7277 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/0.7461, allocations: 132.2 kB / 0.7279 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.749, allocations: 1.044 MB / 0.7289 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/0.7539, allocations: 1.38 MB / 0.7302 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.7608, allocations: 5.816 MB / 0.7359 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/0.7652, allocations: 331.6 kB / 0.7362 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.7663, allocations: 360 kB / 0.7366 GB, free: 11.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004008/0.7703, allocations: 1.935 MB / 0.7385 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008135/0.7712, allocations: 329.7 kB / 0.7388 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007724/0.7789, allocations: 3.944 MB / 0.7426 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/0.7789, allocations: 24 kB / 0.7427 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.7789, allocations: 8 kB / 0.7427 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.779, allocations: 11.95 kB / 0.7427 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.7969, allocations: 8.819 MB / 0.7513 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.7969, allocations: 0 / 0.7513 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.7987, allocations: 351.5 kB / 0.7516 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.8012, allocations: 0.8812 MB / 0.7525 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/0.8015, allocations: 36 kB / 0.7525 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005747/0.8072, allocations: 5.127 MB / 0.7575 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.8072, allocations: 6.016 kB / 0.7575 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.819, allocations: 6.907 MB / 0.7643 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.82, allocations: 374.7 kB / 0.7646 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007207/0.8207, allocations: 35.94 kB / 0.7647 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.8225, allocations: 127.9 kB / 0.7648 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/0.8228, allocations: 121.1 kB / 0.7649 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/0.823, allocations: 52 kB / 0.765 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003647/0.8267, allocations: 2.077 MB / 0.767 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8267, allocations: 0 / 0.767 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00471/0.8314, allocations: 0.9492 MB / 0.7679 GB, free: 10.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/0.8429, allocations: 7.566 MB / 0.7753 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01083/0.8537, allocations: 5.918 MB / 0.7811 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8537, allocations: 0 / 0.7811 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004512/0.8582, allocations: 2.355 MB / 0.7834 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.861, allocations: 346 kB / 0.7837 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07685/0.9379, allocations: 44.2 MB / 0.8269 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004229/0.9421, allocations: 3.018 MB / 0.8298 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004634/0.9467, allocations: 1.861 MB / 0.8316 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/0.9497, allocations: 1.706 MB / 0.8333 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.9497, allocations: 4 kB / 0.8333 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4135/1.363, allocations: 64.73 MB / 0.8965 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/19.56, allocations: 0 / 0.8965 GB, free: 184.2 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.60105845099315] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic1.s', 'prismatic1.v', 'sps1.s_damper', 'universal1.phi_a', 'universal1.phi_b', 'universal1.w_a', 'universal1.w_b'] 19.68101147376001 19.693899123 19.469594374 Calling exit ...