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.001781/0.001781, allocations: 109 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.001927/0.001927, allocations: 213.6 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2415/0.2415, allocations: 46.94 MB / 361.6 MB, free: 4.191 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.002294/0.002294, allocations: 80.05 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3068, allocations: 66.09 MB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01346/0.3203, allocations: 11.44 MB / 0.5727 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008132/0.3284, allocations: 4.111 MB / 0.5767 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.3297, allocations: 79.56 kB / 0.5768 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004649/0.3343, allocations: 2.534 MB / 0.5792 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.3388, allocations: 1.895 MB / 0.5811 GB, free: 312 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3405, allocations: 0.7722 MB / 0.5819 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006256/0.3467, allocations: 4.507 MB / 0.5863 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/0.3503, allocations: 2.795 MB / 0.589 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.3527, allocations: 1.577 MB / 0.5905 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.3561, allocations: 2.395 MB / 0.5929 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006571/0.3568, allocations: 332 kB / 0.5932 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.3587, allocations: 0.9948 MB / 0.5941 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.3606, allocations: 1.967 MB / 0.5961 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002754/0.3634, allocations: 2.245 MB / 0.5983 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.3733, allocations: 6.847 MB / 0.6049 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3733, allocations: 0 / 0.6049 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3733, allocations: 0 / 0.6049 GB, free: 7.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002345/0.3735, allocations: 0 / 0.6049 GB, free: 7.758 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.01039/0.3839, allocations: 4.869 MB / 0.6097 GB, free: 2.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.384, allocations: 8.031 kB / 0.6097 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/0.385, allocations: 0.7319 MB / 0.6104 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007214/0.3922, allocations: 1.987 MB / 0.6124 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/0.3982, allocations: 2.722 MB / 0.615 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.3985, allocations: 258.2 kB / 0.6153 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007994/0.3993, allocations: 327.8 kB / 0.6156 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.4177, allocations: 10.23 MB / 0.6256 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.4178, allocations: 47.58 kB / 0.6256 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.4182, allocations: 163.9 kB / 0.6258 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003092/0.4213, allocations: 1.908 MB / 0.6276 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.4386, allocations: 8.169 MB / 0.6356 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04779/0.4864, allocations: 39.16 MB / 0.6739 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.4941, allocations: 2.736 MB / 0.6765 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.4956, allocations: 0.963 MB / 0.6775 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008068/0.5037, allocations: 4.57 MB / 0.6819 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.5037, allocations: 51.5 kB / 0.682 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.326e-06/0.5037, allocations: 4 kB / 0.682 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02326/0.527, allocations: 9.616 MB / 0.6914 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.5271, allocations: 196.9 kB / 0.6916 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/0.533, allocations: 4.06 MB / 0.6955 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.5333, allocations: 45.7 kB / 0.6956 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002848/0.5361, allocations: 3.31 MB / 0.6988 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008145/0.5369, allocations: 0.6591 MB / 0.6995 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/0.5386, allocations: 1.223 MB / 0.7006 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5387, allocations: 304.9 kB / 0.7009 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.5417, allocations: 1.648 MB / 0.7025 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006582/0.5483, allocations: 5.518 MB / 0.7079 GB, free: 9.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.5594, allocations: 7.77 MB / 0.7155 GB, free: 212 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/0.5595, allocations: 36 kB / 0.7156 GB, free: 176 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0146/0.5741, allocations: 6.907 MB / 0.7223 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5742, allocations: 64 kB / 0.7224 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/0.5743, allocations: 140 kB / 0.7225 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.5746, allocations: 180 kB / 0.7227 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.5792, allocations: 1.427 MB / 0.7241 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002761/0.5795, allocations: 267 kB / 0.7243 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.5837, allocations: 303.7 kB / 0.7246 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006168/0.5843, allocations: 375.9 kB / 0.725 GB, free: 6.535 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.003803/0.5881, allocations: 2.029 MB / 0.7269 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008202/0.589, allocations: 369.5 kB / 0.7273 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/0.5898, allocations: 418.7 kB / 0.7277 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/0.5898, allocations: 20 kB / 0.7277 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.5898, allocations: 4 kB / 0.7277 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5898, allocations: 11.91 kB / 0.7277 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3002/0.89, allocations: 5.805 MB / 0.7334 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.89, allocations: 15.75 kB / 0.7334 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.8911, allocations: 285.9 kB / 0.7337 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/0.8911, allocations: 25.84 kB / 0.7337 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/0.8912, allocations: 45.56 kB / 0.7338 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/0.8912, allocations: 37.44 kB / 0.7338 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.8912, allocations: 27.56 kB / 0.7338 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.8947, allocations: 3.329 MB / 0.7371 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007981/0.8955, allocations: 360.2 kB / 0.7374 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.8958, allocations: 55.39 kB / 0.7375 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.8968, allocations: 60.08 kB / 0.7375 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.8969, allocations: 150.6 kB / 0.7377 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.897, allocations: 67.25 kB / 0.7377 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003591/0.9006, allocations: 2.516 MB / 0.7402 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9006, allocations: 0 / 0.7402 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004476/0.905, allocations: 0.8912 MB / 0.7411 GB, free: 147.8 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.003663/0.9087, allocations: 3.987 MB / 0.745 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005279/0.914, allocations: 3.681 MB / 0.7485 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.914, allocations: 0 / 0.7485 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009257/0.9149, allocations: 0.7079 MB / 0.7492 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.9175, allocations: 476.7 kB / 0.7497 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/0.9571, allocations: 41.76 MB / 0.7905 GB, free: 97.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.9597, allocations: 3.174 MB / 0.7936 GB, free: 94.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003216/0.9629, allocations: 1.812 MB / 0.7953 GB, free: 92.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/0.9645, allocations: 1.858 MB / 0.7972 GB, free: 91 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/0.9645, allocations: 4 kB / 0.7972 GB, free: 90.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09415/1.059, allocations: 63.9 MB / 0.8596 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.77/19.83, allocations: 11.3 kB / 0.8596 GB, free: 27.4 MB / 0.5606 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 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: 22.728359032422304] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'prismatic1.s', 'prismatic1.v'] 19.948039047885686 19.963473716 19.586927232 Calling exit ...