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.001307/0.001307, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002156/0.002156, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2278/0.2278, allocations: 46.92 MB / 361.6 MB, free: 4.211 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.002415/0.002415, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3308, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01307/0.3438, allocations: 10.57 MB / 0.5718 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007522/0.3514, allocations: 3.295 MB / 0.5751 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.3531, allocations: 63.69 kB / 0.5751 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005177/0.3582, allocations: 2.41 MB / 0.5775 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.3623, allocations: 1.256 MB / 0.5787 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.3638, allocations: 0.5263 MB / 0.5792 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.3685, allocations: 2.917 MB / 0.5821 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.372, allocations: 2.455 MB / 0.5845 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3742, allocations: 1.293 MB / 0.5857 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.3771, allocations: 1.845 MB / 0.5875 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008062/0.3779, allocations: 292 kB / 0.5878 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.38, allocations: 1.049 MB / 0.5888 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.3817, allocations: 1.616 MB / 0.5904 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.3843, allocations: 1.957 MB / 0.5923 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.3923, allocations: 6.264 MB / 0.5984 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3923, allocations: 0 / 0.5984 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3923, allocations: 0 / 0.5984 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.3925, allocations: 0 / 0.5984 GB, free: 14.3 MB / 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.009438/0.4019, allocations: 4.28 MB / 0.6026 GB, free: 9.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.402, allocations: 8.031 kB / 0.6026 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001284/0.4033, allocations: 0.7029 MB / 0.6033 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/0.4092, allocations: 1.835 MB / 0.6051 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.4132, allocations: 1.725 MB / 0.6068 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.4135, allocations: 225.8 kB / 0.607 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009575/0.4144, allocations: 299.8 kB / 0.6073 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.4359, allocations: 10.65 MB / 0.6177 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/0.436, allocations: 43.62 kB / 0.6177 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006729/0.4367, allocations: 147.8 kB / 0.6179 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003623/0.4403, allocations: 2.04 MB / 0.6199 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.4617, allocations: 9.351 MB / 0.629 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05179/0.5135, allocations: 37.79 MB / 0.6659 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.5243, allocations: 3.603 MB / 0.6694 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003141/0.5275, allocations: 2.091 MB / 0.6715 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00902/0.5365, allocations: 5.118 MB / 0.6765 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.586e-05/0.5366, allocations: 59.86 kB / 0.6765 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 5.32e-06/0.5366, allocations: 4 kB / 0.6765 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=210): time 0.06688/0.6035, allocations: 21.86 MB / 0.6979 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6036, allocations: 149.8 kB / 0.698 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/0.6094, allocations: 3.383 MB / 0.7013 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005116/0.6099, allocations: 57.7 kB / 0.7014 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/0.6127, allocations: 2.924 MB / 0.7042 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.6139, allocations: 0.8217 MB / 0.705 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/0.616, allocations: 1.211 MB / 0.7062 GB, free: 13.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6162, allocations: 305.1 kB / 0.7065 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003966/0.6201, allocations: 2.335 MB / 0.7088 GB, free: 11.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006978/0.6271, allocations: 5.796 MB / 0.7144 GB, free: 3.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.639, allocations: 8.818 MB / 0.723 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/0.6391, allocations: 36 kB / 0.7231 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01867/0.6578, allocations: 8.7 MB / 0.7316 GB, free: 472 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.6579, allocations: 60.25 kB / 0.7316 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/0.658, allocations: 120 kB / 0.7317 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.249/0.907, allocations: 1.031 MB / 0.7328 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005334/0.9123, allocations: 1.383 MB / 0.7341 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/0.9174, allocations: 5.612 MB / 0.7396 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.9217, allocations: 330.4 kB / 0.7399 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009478/0.9226, allocations: 362.9 kB / 0.7402 GB, free: 148.9 MB / 0.5606 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.003126/0.9257, allocations: 1.944 MB / 0.7421 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/0.9263, allocations: 325.6 kB / 0.7425 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/0.9326, allocations: 3.944 MB / 0.7463 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/0.9326, allocations: 31.34 kB / 0.7463 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.9326, allocations: 5.719 kB / 0.7463 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.9327, allocations: 7.5 kB / 0.7463 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.9467, allocations: 8.769 MB / 0.7549 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.9467, allocations: 0 / 0.7549 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.9485, allocations: 352.4 kB / 0.7552 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.9507, allocations: 0.8711 MB / 0.7561 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/0.951, allocations: 37.78 kB / 0.7561 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/0.9549, allocations: 4.926 MB / 0.7609 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9549, allocations: 0 / 0.7609 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008972/0.9639, allocations: 6.916 MB / 0.7677 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/0.9647, allocations: 295.4 kB / 0.768 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006976/0.9654, allocations: 35.94 kB / 0.768 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.9671, allocations: 119.8 kB / 0.7681 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/0.9674, allocations: 129 kB / 0.7682 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.9676, allocations: 52 kB / 0.7683 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002569/0.9701, allocations: 2.073 MB / 0.7703 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9701, allocations: 0 / 0.7703 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004278/0.9744, allocations: 0.9527 MB / 0.7713 GB, free: 126.4 MB / 0.5606 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.008983/0.9834, allocations: 7.575 MB / 0.7787 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00934/0.9927, allocations: 5.771 MB / 0.7843 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.9927, allocations: 0 / 0.7843 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003712/0.9965, allocations: 2.193 MB / 0.7864 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.9989, allocations: 356.5 kB / 0.7868 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0513/1.05, allocations: 44.26 MB / 0.83 GB, free: 60.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/1.054, allocations: 3.023 MB / 0.8329 GB, free: 57.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003925/1.058, allocations: 1.861 MB / 0.8348 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/1.06, allocations: 1.706 MB / 0.8364 GB, free: 54.13 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/1.06, allocations: 0 / 0.8364 GB, free: 54.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/1.213, allocations: 69.6 MB / 0.9044 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/19.5, allocations: 14.34 kB / 0.9044 GB, free: 0.8281 MB / 0.5762 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.370474761817604] 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.633633630815893 19.659669131 19.261828905 Calling exit ...