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.001726/0.001726, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002064/0.002064, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2329/0.2329, allocations: 46.94 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.002315/0.002315, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3587, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01255/0.3713, allocations: 10.57 MB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.3782, allocations: 3.287 MB / 0.575 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.38, allocations: 67.75 kB / 0.5751 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004932/0.3849, allocations: 2.41 MB / 0.5775 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.3889, allocations: 1.26 MB / 0.5787 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3904, allocations: 0.5263 MB / 0.5792 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.395, allocations: 2.931 MB / 0.5821 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.3983, allocations: 2.455 MB / 0.5845 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.4004, allocations: 1.285 MB / 0.5857 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.4035, allocations: 1.845 MB / 0.5875 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000745/0.4043, allocations: 299.9 kB / 0.5878 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.4064, allocations: 1.041 MB / 0.5888 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.408, allocations: 1.616 MB / 0.5904 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.4103, allocations: 1.957 MB / 0.5923 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007946/0.4182, allocations: 6.267 MB / 0.5984 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4182, allocations: 0 / 0.5984 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4182, allocations: 0 / 0.5984 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.4184, allocations: 0 / 0.5984 GB, free: 14.32 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.009829/0.4283, allocations: 4.288 MB / 0.6026 GB, free: 9.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4283, allocations: 15.97 kB / 0.6026 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/0.4296, allocations: 0.6952 MB / 0.6033 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/0.4356, allocations: 1.843 MB / 0.6051 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.4394, allocations: 1.709 MB / 0.6068 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.4396, allocations: 233.8 kB / 0.607 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008802/0.4405, allocations: 299.8 kB / 0.6073 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.4615, allocations: 10.65 MB / 0.6177 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.4617, allocations: 35.75 kB / 0.6177 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004394/0.4621, allocations: 143.9 kB / 0.6179 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/0.4657, allocations: 2.04 MB / 0.6199 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/0.4869, allocations: 9.351 MB / 0.629 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/0.5384, allocations: 37.79 MB / 0.6659 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.5491, allocations: 3.599 MB / 0.6694 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.5522, allocations: 2.089 MB / 0.6715 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.5623, allocations: 5.122 MB / 0.6765 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.5624, allocations: 55.81 kB / 0.6765 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 5.3e-06/0.5624, allocations: 0 / 0.6765 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=210): time 0.06381/0.6262, allocations: 21.86 MB / 0.6979 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6263, allocations: 145.8 kB / 0.698 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/0.6317, allocations: 3.391 MB / 0.7013 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004632/0.6322, allocations: 57.58 kB / 0.7014 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.6346, allocations: 2.92 MB / 0.7042 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.6358, allocations: 0.8256 MB / 0.705 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.6377, allocations: 1.203 MB / 0.7062 GB, free: 13.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6379, allocations: 301.1 kB / 0.7065 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/0.6417, allocations: 2.342 MB / 0.7088 GB, free: 11.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007078/0.6487, allocations: 5.792 MB / 0.7144 GB, free: 3.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.6608, allocations: 8.82 MB / 0.723 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/0.6609, allocations: 32 kB / 0.7231 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01794/0.6788, allocations: 8.702 MB / 0.7316 GB, free: 496 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.6789, allocations: 56 kB / 0.7316 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.6791, allocations: 132.1 kB / 0.7317 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3104/0.9895, allocations: 1.033 MB / 0.7328 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005433/0.9949, allocations: 1.38 MB / 0.7341 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/1, allocations: 5.606 MB / 0.7396 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/1.005, allocations: 336.6 kB / 0.7399 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008514/1.005, allocations: 361.9 kB / 0.7402 GB, free: 149 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.003124/1.009, allocations: 1.937 MB / 0.7421 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006203/1.009, allocations: 325 kB / 0.7424 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/1.015, allocations: 3.946 MB / 0.7463 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/1.015, allocations: 27.42 kB / 0.7463 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.015, allocations: 8.812 kB / 0.7463 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.015, allocations: 14.55 kB / 0.7463 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.029, allocations: 8.763 MB / 0.7549 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.029, allocations: 9.953 kB / 0.7549 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.031, allocations: 352.4 kB / 0.7552 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.033, allocations: 0.8648 MB / 0.7561 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/1.033, allocations: 35 kB / 0.7561 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/1.037, allocations: 4.926 MB / 0.7609 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.037, allocations: 4.031 kB / 0.7609 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00872/1.046, allocations: 6.92 MB / 0.7677 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009297/1.047, allocations: 296.1 kB / 0.768 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007416/1.048, allocations: 35.98 kB / 0.768 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.049, allocations: 115.8 kB / 0.7681 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/1.05, allocations: 127.5 kB / 0.7682 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.05, allocations: 59.98 kB / 0.7683 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002736/1.053, allocations: 2.069 MB / 0.7703 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.053, allocations: 0 / 0.7703 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004865/1.057, allocations: 0.9563 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.009113/1.066, allocations: 7.568 MB / 0.7786 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009569/1.076, allocations: 5.766 MB / 0.7843 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.076, allocations: 0 / 0.7843 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00406/1.08, allocations: 2.196 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.002507/1.083, allocations: 352 kB / 0.7868 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06115/1.144, allocations: 44.27 MB / 0.83 GB, free: 60.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.148, allocations: 3.011 MB / 0.8329 GB, free: 57.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004302/1.152, allocations: 1.865 MB / 0.8348 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/1.155, allocations: 1.718 MB / 0.8364 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.853e-06/1.155, allocations: 0 / 0.8364 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.274, allocations: 69.58 MB / 0.9044 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/20.21, allocations: 8 kB / 0.9044 GB, free: 0.875 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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: 23.257925934158266] 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'] 20.34819361520931 20.371410055 19.949643652 Calling exit ...