Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.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.001342/0.001342, 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.001474/0.001474, allocations: 213.2 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2197/0.2197, allocations: 46.93 MB / 361.6 MB, free: 4.297 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.Spring,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring",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.002316/0.002316, allocations: 87.8 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3044, allocations: 66.07 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01307/0.3175, allocations: 11.44 MB / 0.5727 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008394/0.3259, allocations: 4.11 MB / 0.5767 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.3276, allocations: 79.62 kB / 0.5768 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.3329, allocations: 2.534 MB / 0.5792 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.3379, allocations: 1.887 MB / 0.5811 GB, free: 200 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.3398, allocations: 0.7838 MB / 0.5819 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006801/0.3466, allocations: 4.507 MB / 0.5863 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.3508, allocations: 2.783 MB / 0.589 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.3538, allocations: 1.581 MB / 0.5905 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.3577, allocations: 2.395 MB / 0.5929 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.3587, allocations: 332 kB / 0.5932 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3611, allocations: 0.9987 MB / 0.5941 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.3635, allocations: 1.963 MB / 0.5961 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003342/0.3669, allocations: 2.237 MB / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008981/0.3758, allocations: 6.855 MB / 0.6049 GB, free: 7.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3759, allocations: 0 / 0.6049 GB, free: 7.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3759, allocations: 0 / 0.6049 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002265/0.3761, allocations: 0 / 0.6049 GB, free: 7.645 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01066/0.3867, allocations: 4.869 MB / 0.6097 GB, free: 2.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3868, allocations: 8.031 kB / 0.6097 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001791/0.3886, allocations: 0.7319 MB / 0.6104 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00779/0.3964, allocations: 1.991 MB / 0.6124 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/0.4022, allocations: 2.714 MB / 0.615 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.4024, allocations: 258.3 kB / 0.6153 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008564/0.4033, allocations: 327.8 kB / 0.6156 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.422, allocations: 10.24 MB / 0.6256 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.4222, allocations: 47.62 kB / 0.6256 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.4227, allocations: 167.8 kB / 0.6258 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002995/0.4257, allocations: 1.904 MB / 0.6276 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.4438, allocations: 8.165 MB / 0.6356 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04913/0.493, allocations: 39.17 MB / 0.6739 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.501, allocations: 2.731 MB / 0.6765 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.5027, allocations: 0.9592 MB / 0.6775 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008458/0.5111, allocations: 4.57 MB / 0.6819 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.5112, allocations: 55.55 kB / 0.682 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.017e-06/0.5112, allocations: 0 / 0.682 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02295/0.5341, allocations: 9.601 MB / 0.6914 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.5343, allocations: 204.8 kB / 0.6916 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006203/0.5405, allocations: 4.064 MB / 0.6955 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.5407, allocations: 49.7 kB / 0.6956 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.5433, allocations: 3.31 MB / 0.6988 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007808/0.5441, allocations: 0.663 MB / 0.6995 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/0.5458, allocations: 1.219 MB / 0.7006 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5459, allocations: 301.1 kB / 0.7009 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.5488, allocations: 1.648 MB / 0.7025 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006381/0.5552, allocations: 5.518 MB / 0.7079 GB, free: 9.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009879/0.5651, allocations: 7.769 MB / 0.7155 GB, free: 108 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.5652, allocations: 40 kB / 0.7156 GB, free: 68 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01315/0.5783, allocations: 6.904 MB / 0.7223 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.5784, allocations: 67 kB / 0.7224 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/0.5786, allocations: 136 kB / 0.7225 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.5788, allocations: 183.9 kB / 0.7227 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004609/0.5834, allocations: 1.427 MB / 0.7241 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002512/0.5836, allocations: 274.9 kB / 0.7243 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/0.5874, allocations: 295.7 kB / 0.7246 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007484/0.5882, allocations: 376 kB / 0.725 GB, free: 6.422 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (767): * Single equations (assignments): 764 * Array equations: 3 * 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.003376/0.5915, allocations: 2.044 MB / 0.727 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/0.5922, allocations: 365.5 kB / 0.7273 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.593, allocations: 418.7 kB / 0.7277 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/0.593, allocations: 19.94 kB / 0.7277 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.593, allocations: 0 / 0.7277 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.593, allocations: 7.984 kB / 0.7277 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2344/0.8274, allocations: 5.808 MB / 0.7334 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/0.8275, allocations: 23.7 kB / 0.7334 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8285, allocations: 280 kB / 0.7337 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.472e-05/0.8285, allocations: 24.09 kB / 0.7337 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.774e-05/0.8286, allocations: 50.92 kB / 0.7338 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-05/0.8286, allocations: 35.42 kB / 0.7338 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/0.8287, allocations: 27.81 kB / 0.7338 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/0.8322, allocations: 3.321 MB / 0.7371 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.833, allocations: 358.7 kB / 0.7374 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.8334, allocations: 51.52 kB / 0.7375 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.8345, allocations: 66.89 kB / 0.7375 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.8347, allocations: 151.2 kB / 0.7377 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.8348, allocations: 70.95 kB / 0.7377 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00349/0.8382, allocations: 2.515 MB / 0.7402 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8382, allocations: 0 / 0.7402 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004362/0.8426, allocations: 0.8732 MB / 0.741 GB, free: 147.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.003656/0.8463, allocations: 3.99 MB / 0.7449 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005067/0.8513, allocations: 3.671 MB / 0.7485 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.8513, allocations: 2.969 kB / 0.7485 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008595/0.8522, allocations: 0.715 MB / 0.7492 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.8548, allocations: 480 kB / 0.7497 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/0.8975, allocations: 41.76 MB / 0.7905 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/0.9003, allocations: 3.167 MB / 0.7936 GB, free: 94.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003409/0.9037, allocations: 1.816 MB / 0.7953 GB, free: 92.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/0.9056, allocations: 1.862 MB / 0.7972 GB, free: 90.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/0.9056, allocations: 4 kB / 0.7972 GB, free: 90.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0929/0.9985, allocations: 63.91 MB / 0.8596 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.64/21.63, allocations: 7.875 kB / 0.8596 GB, free: 27.24 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.638218911364675] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'prismatic1.s', 'prismatic1.v'] 21.754175973124802 21.778321691 21.397214133 Calling exit ...