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.001375/0.001375, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001477/0.001477, allocations: 221.1 kB / 22.92 MB, free: 5.535 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.277/1.277, allocations: 230.2 MB / 256.2 MB, free: 8.734 MB / 206.1 MB " [Timeout remaining time 179] 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.1951/0.1951, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.002124/0.002124, allocations: 87.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2522, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01224/0.2644, allocations: 11.42 MB / 0.5696 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.2717, allocations: 4.118 MB / 0.5736 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2728, allocations: 67.81 kB / 0.5737 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004287/0.2771, allocations: 2.527 MB / 0.5761 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.2809, allocations: 1.887 MB / 0.578 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.2822, allocations: 0.7644 MB / 0.5787 GB, free: 332 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0055/0.2877, allocations: 4.515 MB / 0.5831 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.2907, allocations: 2.542 MB / 0.5856 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.2928, allocations: 1.557 MB / 0.5871 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.2959, allocations: 2.399 MB / 0.5895 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.2965, allocations: 336 kB / 0.5898 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.2984, allocations: 0.9908 MB / 0.5908 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.3002, allocations: 1.959 MB / 0.5927 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.3026, allocations: 2.241 MB / 0.5949 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.3099, allocations: 6.851 MB / 0.6016 GB, free: 8.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3099, allocations: 4 kB / 0.6016 GB, free: 8.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3099, allocations: 0 / 0.6016 GB, free: 8.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.31, allocations: 0 / 0.6016 GB, free: 8.82 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.008733/0.3188, allocations: 4.936 MB / 0.6064 GB, free: 3.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3188, allocations: 8.031 kB / 0.6064 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000829/0.3196, allocations: 0.7358 MB / 0.6071 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007007/0.3266, allocations: 1.995 MB / 0.6091 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004304/0.3309, allocations: 2.786 MB / 0.6118 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.3311, allocations: 250.2 kB / 0.612 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/0.3317, allocations: 335.8 kB / 0.6123 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.3462, allocations: 10.23 MB / 0.6223 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.3463, allocations: 51.58 kB / 0.6224 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/0.3467, allocations: 155.9 kB / 0.6225 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/0.3495, allocations: 1.908 MB / 0.6244 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/0.3638, allocations: 8.169 MB / 0.6324 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0398/0.4036, allocations: 39.31 MB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007718/0.4114, allocations: 3.165 MB / 0.6738 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.4128, allocations: 0.9708 MB / 0.6748 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00736/0.4201, allocations: 5.994 MB / 0.6806 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.4202, allocations: 67.42 kB / 0.6807 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 2.995e-06/0.4202, allocations: 3.938 kB / 0.6807 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02123/0.4414, allocations: 9.743 MB / 0.6902 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.4415, allocations: 200.9 kB / 0.6904 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00505/0.4466, allocations: 4.072 MB / 0.6944 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.327e-05/0.4467, allocations: 45.7 kB / 0.6944 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.449, allocations: 3.318 MB / 0.6977 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.4496, allocations: 0.6629 MB / 0.6983 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4509, allocations: 1.219 MB / 0.6995 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.451, allocations: 301.1 kB / 0.6998 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.4535, allocations: 1.648 MB / 0.7014 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.459, allocations: 5.518 MB / 0.7068 GB, free: 8.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008659/0.4677, allocations: 7.777 MB / 0.7144 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.387e-05/0.4677, allocations: 40 kB / 0.7144 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01041/0.4781, allocations: 6.895 MB / 0.7212 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.792e-05/0.4782, allocations: 64 kB / 0.7212 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.4783, allocations: 136 kB / 0.7214 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.4785, allocations: 180 kB / 0.7215 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/0.4824, allocations: 1.431 MB / 0.7229 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002213/0.4826, allocations: 267 kB / 0.7232 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.4857, allocations: 295.7 kB / 0.7235 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/0.4861, allocations: 376 kB / 0.7238 GB, free: 4.781 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.002668/0.4888, allocations: 2.044 MB / 0.7258 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.4893, allocations: 365.5 kB / 0.7262 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.49, allocations: 418.7 kB / 0.7266 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.49, allocations: 16 kB / 0.7266 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.49, allocations: 0 / 0.7266 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.49, allocations: 11.92 kB / 0.7266 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2012/0.6913, allocations: 5.836 MB / 0.7323 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.6913, allocations: 19.47 kB / 0.7323 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.6922, allocations: 295.2 kB / 0.7326 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.6922, allocations: 23.69 kB / 0.7326 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/0.6922, allocations: 43.47 kB / 0.7327 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.561e-05/0.6923, allocations: 35.39 kB / 0.7327 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.6923, allocations: 27.62 kB / 0.7327 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.695, allocations: 3.327 MB / 0.736 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.6955, allocations: 431.8 kB / 0.7364 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.6957, allocations: 56.53 kB / 0.7364 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.6967, allocations: 64.3 kB / 0.7365 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.6968, allocations: 147.4 kB / 0.7366 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.6969, allocations: 67.61 kB / 0.7367 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002557/0.6995, allocations: 2.517 MB / 0.7392 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6995, allocations: 0 / 0.7392 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003393/0.7028, allocations: 0.8846 MB / 0.74 GB, free: 148.4 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.002821/0.7057, allocations: 3.988 MB / 0.7439 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003969/0.7096, allocations: 3.671 MB / 0.7475 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7096, allocations: 0 / 0.7475 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006848/0.7103, allocations: 0.7071 MB / 0.7482 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.7123, allocations: 478.8 kB / 0.7486 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/0.7429, allocations: 41.76 MB / 0.7894 GB, free: 97.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.745, allocations: 3.174 MB / 0.7925 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002763/0.7477, allocations: 1.812 MB / 0.7943 GB, free: 92.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.7491, allocations: 1.866 MB / 0.7961 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.7491, allocations: 4 kB / 0.7961 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07798/0.8271, allocations: 59.41 MB / 0.8541 GB, free: 31.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/16.93, allocations: 4.062 kB / 0.8541 GB, free: 31.37 MB / 0.5606 GB " [Timeout remaining time 643] (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 --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: 19.44916544399166]