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.001411/0.001411, allocations: 105 kB / 19.74 MB, free: 2.453 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.001563/0.001563, allocations: 216.9 kB / 22.92 MB, free: 5.195 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.304/1.304, allocations: 230.2 MB / 256.2 MB, free: 8.594 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.1969/0.1969, allocations: 46.88 MB / 359.3 MB, free: 4.98 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.002118/0.002118, allocations: 79.88 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.254, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01213/0.2662, allocations: 11.44 MB / 0.5696 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.2732, allocations: 4.108 MB / 0.5736 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/0.2739, allocations: 67.81 kB / 0.5737 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.2779, allocations: 2.519 MB / 0.5761 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.2811, allocations: 1.887 MB / 0.578 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2823, allocations: 0.78 MB / 0.5787 GB, free: 332 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.2868, allocations: 4.507 MB / 0.5831 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.2894, allocations: 2.542 MB / 0.5856 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.291, allocations: 1.557 MB / 0.5871 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.2935, allocations: 2.395 MB / 0.5895 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.294, allocations: 336 kB / 0.5898 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.2954, allocations: 0.987 MB / 0.5908 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.297, allocations: 1.967 MB / 0.5927 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.2989, allocations: 2.241 MB / 0.5949 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.3051, allocations: 6.851 MB / 0.6016 GB, free: 8.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3051, allocations: 0 / 0.6016 GB, free: 8.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3051, allocations: 0 / 0.6016 GB, free: 8.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.061e-05/0.3051, allocations: 0 / 0.6016 GB, free: 8.832 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.007307/0.3124, allocations: 4.939 MB / 0.6064 GB, free: 3.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3125, allocations: 8.031 kB / 0.6064 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008215/0.3133, allocations: 0.7319 MB / 0.6071 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006987/0.3203, allocations: 1.991 MB / 0.609 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.3246, allocations: 2.794 MB / 0.6118 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.3248, allocations: 250.3 kB / 0.612 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005397/0.3253, allocations: 327.8 kB / 0.6123 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.3401, allocations: 10.24 MB / 0.6223 GB, free: 2.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.3402, allocations: 47.56 kB / 0.6224 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.3405, allocations: 159.9 kB / 0.6225 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002786/0.3433, allocations: 1.912 MB / 0.6244 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.3591, allocations: 8.173 MB / 0.6324 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04328/0.4024, allocations: 39.31 MB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007886/0.4103, allocations: 3.173 MB / 0.6738 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.4118, allocations: 0.967 MB / 0.6748 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008124/0.42, allocations: 6.006 MB / 0.6807 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.42, allocations: 55.5 kB / 0.6807 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.637e-06/0.42, allocations: 0 / 0.6807 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02364/0.4436, allocations: 9.744 MB / 0.6902 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.4438, allocations: 200.9 kB / 0.6904 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/0.4489, allocations: 4.068 MB / 0.6944 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.449, allocations: 45.7 kB / 0.6944 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.4512, allocations: 3.31 MB / 0.6977 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000551/0.4518, allocations: 0.6707 MB / 0.6983 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.4531, allocations: 1.211 MB / 0.6995 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4532, allocations: 305.1 kB / 0.6998 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.4557, allocations: 1.648 MB / 0.7014 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005172/0.4608, allocations: 5.518 MB / 0.7068 GB, free: 8.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008278/0.4691, allocations: 7.772 MB / 0.7144 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.023e-05/0.4692, allocations: 40 kB / 0.7144 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01002/0.4792, allocations: 6.901 MB / 0.7212 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.4793, allocations: 70.59 kB / 0.7212 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.4794, allocations: 140 kB / 0.7214 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.4795, allocations: 184 kB / 0.7215 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/0.4833, allocations: 1.427 MB / 0.7229 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000199/0.4835, allocations: 267 kB / 0.7232 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.4864, allocations: 295.7 kB / 0.7235 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/0.4868, allocations: 379.9 kB / 0.7238 GB, free: 4.785 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.002476/0.4893, allocations: 2.029 MB / 0.7258 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.4897, allocations: 373.5 kB / 0.7262 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.4904, allocations: 410.7 kB / 0.7266 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.4904, allocations: 20 kB / 0.7266 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4904, allocations: 0 / 0.7266 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4904, allocations: 12.16 kB / 0.7266 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1985/0.6889, allocations: 5.838 MB / 0.7323 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.6889, allocations: 19.75 kB / 0.7323 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008811/0.6898, allocations: 290.7 kB / 0.7326 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.6898, allocations: 27.56 kB / 0.7326 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.6899, allocations: 46.19 kB / 0.7327 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.6899, allocations: 39.17 kB / 0.7327 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.6899, allocations: 27.84 kB / 0.7327 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/0.6927, allocations: 3.322 MB / 0.736 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.6933, allocations: 435.1 kB / 0.7364 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.6936, allocations: 58.47 kB / 0.7364 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/0.6946, allocations: 69.55 kB / 0.7365 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6947, allocations: 144.5 kB / 0.7366 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.6948, allocations: 71.2 kB / 0.7367 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002783/0.6976, allocations: 2.515 MB / 0.7392 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6976, allocations: 0 / 0.7392 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003911/0.7015, allocations: 0.8811 MB / 0.74 GB, free: 148.5 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.003029/0.7045, allocations: 3.978 MB / 0.7439 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00431/0.7088, allocations: 3.674 MB / 0.7475 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.7089, allocations: 0 / 0.7475 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.7096, allocations: 0.7106 MB / 0.7482 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.7119, allocations: 477.7 kB / 0.7486 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03429/0.7462, allocations: 41.76 MB / 0.7894 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/0.7486, allocations: 3.17 MB / 0.7925 GB, free: 94.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00304/0.7516, allocations: 1.816 MB / 0.7943 GB, free: 92.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/0.7533, allocations: 1.866 MB / 0.7961 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.7533, allocations: 0 / 0.7961 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08004/0.8334, allocations: 59.41 MB / 0.8541 GB, free: 31.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/16.94, allocations: 11.05 kB / 0.8541 GB, free: 31.41 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 & 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: 19.482014777007862]