Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04731/0.04731, allocations: 9.222 MB / 318.1 MB, free: 11.23 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.Examples.SpringDemo,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_SpringDemo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.SpringDemo,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_SpringDemo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 442.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1186, allocations: 55.43 MB / 498 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01178/0.1304, allocations: 9.565 MB / 0.4956 GB, free: 1.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.1373, allocations: 2.799 MB / 0.4984 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.139, allocations: 39.88 kB / 0.4984 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.1405, allocations: 421.2 kB / 0.4988 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.1447, allocations: 1.467 MB / 0.5002 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.1453, allocations: 163.7 kB / 0.5004 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.1489, allocations: 2.694 MB / 0.503 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.1501, allocations: 0.8159 MB / 0.5038 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.1515, allocations: 0.9921 MB / 0.5048 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.1535, allocations: 1.522 MB / 0.5063 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004035/0.1539, allocations: 248 kB / 0.5065 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.1554, allocations: 0.8972 MB / 0.5074 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.1566, allocations: 1.343 MB / 0.5087 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.1584, allocations: 1.693 MB / 0.5104 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2526/0.411, allocations: 5.365 MB / 0.5156 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.411, allocations: 0 / 0.5156 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.411, allocations: 0 / 0.5156 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000186/0.4112, allocations: 2.406 kB / 0.5156 GB, free: 11.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.009078/0.4203, allocations: 3.694 MB / 0.5192 GB, free: 10 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4203, allocations: 10.73 kB / 0.5192 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009524/0.4213, allocations: 0.5898 MB / 0.5198 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007523/0.4288, allocations: 1.859 MB / 0.5216 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.432, allocations: 1.441 MB / 0.523 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.4322, allocations: 161.9 kB / 0.5232 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.4329, allocations: 215.3 kB / 0.5234 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.4488, allocations: 8.722 MB / 0.5319 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.4489, allocations: 26.17 kB / 0.5319 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005094/0.4494, allocations: 98.58 kB / 0.532 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00334/0.4527, allocations: 2.089 MB / 0.534 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.468, allocations: 7.547 MB / 0.5414 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04655/0.5146, allocations: 27.03 MB / 0.5678 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/0.5202, allocations: 2.127 MB / 0.5699 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.5222, allocations: 0.8857 MB / 0.5708 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.5331, allocations: 5.569 MB / 0.5762 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.5331, allocations: 40.41 kB / 0.5762 GB, free: 2.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 4.318e-06/0.5331, allocations: 0 / 0.5762 GB, free: 2.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.01707/0.5502, allocations: 7.177 MB / 0.5832 GB, free: 11.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.5502, allocations: 64.41 kB / 0.5833 GB, free: 11.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005056/0.5553, allocations: 2.944 MB / 0.5862 GB, free: 8.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.5554, allocations: 48.7 kB / 0.5862 GB, free: 8.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.5573, allocations: 2.45 MB / 0.5886 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.5579, allocations: 0.5455 MB / 0.5891 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.5592, allocations: 0.8559 MB / 0.59 GB, free: 4.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5594, allocations: 301.1 kB / 0.5903 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.5618, allocations: 1.359 MB / 0.5916 GB, free: 2.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.5661, allocations: 3.81 MB / 0.5953 GB, free: 13.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008056/0.5742, allocations: 5.5 MB / 0.6007 GB, free: 7.586 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/0.5743, allocations: 24 kB / 0.6007 GB, free: 7.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01321/0.5875, allocations: 5.64 MB / 0.6062 GB, free: 2.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.5876, allocations: 44 kB / 0.6063 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.5877, allocations: 92.06 kB / 0.6064 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/0.5886, allocations: 380 kB / 0.6067 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.5917, allocations: 0.9241 MB / 0.6076 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008084/0.5998, allocations: 9.103 MB / 0.6165 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.603, allocations: 227.9 kB / 0.6167 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004783/0.6035, allocations: 252 kB / 0.617 GB, free: 6.441 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,11,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00291/0.6064, allocations: 1.713 MB / 0.6186 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/0.6068, allocations: 250.3 kB / 0.6189 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.6106, allocations: 2.239 MB / 0.6211 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001947/0.6108, allocations: 45.83 kB / 0.6211 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6108, allocations: 4 kB / 0.6211 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6108, allocations: 3.984 kB / 0.6211 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.6217, allocations: 5.786 MB / 0.6268 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6217, allocations: 4.438 kB / 0.6268 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.6225, allocations: 179.7 kB / 0.6269 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.623, allocations: 162.5 kB / 0.6271 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.623, allocations: 24 kB / 0.6271 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/0.6277, allocations: 5.207 MB / 0.6322 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6277, allocations: 7.938 kB / 0.6322 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.633, allocations: 3.039 MB / 0.6352 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.6338, allocations: 335.3 kB / 0.6355 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.6341, allocations: 20 kB / 0.6355 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/0.635, allocations: 67.86 kB / 0.6356 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.6351, allocations: 80.91 kB / 0.6357 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.6352, allocations: 46.09 kB / 0.6357 GB, free: 2.484 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003217/0.6384, allocations: 1.874 MB / 0.6375 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6385, allocations: 0 / 0.6375 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004064/0.6425, allocations: 0.703 MB / 0.6382 GB, free: 15.89 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.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 (102): * Single equations (assignments): 94 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005543/0.6481, allocations: 3.68 MB / 0.6418 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006876/0.6549, allocations: 3.595 MB / 0.6453 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6549, allocations: 0 / 0.6453 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.6568, allocations: 1.08 MB / 0.6464 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.6592, allocations: 418.2 kB / 0.6468 GB, free: 6.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0525/0.7117, allocations: 30.62 MB / 0.6767 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/0.7153, allocations: 2.753 MB / 0.6794 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003258/0.7185, allocations: 1.21 MB / 0.6805 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/0.722, allocations: 1.451 MB / 0.682 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of SimCode: time 2.956e-06/0.722, allocations: 0 / 0.682 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/0.8466, allocations: 46.98 MB / 0.7278 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.99, allocations: 4.062 kB / 0.7278 GB, free: 0.8047 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.Examples.SpringDemo_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PlanarMechanics_PlanarMechanics_Examples_SpringDemo.fmu > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.04231262599933] Failed to read output from testmodel.py, exit status != 0: 17.303553739999188 17.317243095 16.903208024 Calling exit ...