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.001734/0.001734, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002102/0.002102, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.793 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.04774/0.04774, allocations: 9.234 MB / 321.7 MB, free: 9.836 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.002039/0.002039, allocations: 69.92 kB / 447.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 55.46 MB / 0.4913 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01086/0.12, allocations: 8.362 MB / 0.4995 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005803/0.1258, allocations: 2.659 MB / 0.5021 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008805/0.1267, allocations: 43.88 kB / 0.5021 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.1276, allocations: 417.2 kB / 0.5025 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.1306, allocations: 1.463 MB / 0.504 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.131, allocations: 163.7 kB / 0.5041 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.1339, allocations: 2.691 MB / 0.5068 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.135, allocations: 0.789 MB / 0.5075 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.1361, allocations: 0.9921 MB / 0.5085 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.1379, allocations: 1.459 MB / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.1383, allocations: 251.9 kB / 0.5102 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1396, allocations: 0.7763 MB / 0.5109 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.1408, allocations: 1.347 MB / 0.5122 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.142, allocations: 1.191 MB / 0.5134 GB, free: 320 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2264/0.3684, allocations: 5.376 MB / 0.5186 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3684, allocations: 0 / 0.5186 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3684, allocations: 0 / 0.5186 GB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000194/0.3686, allocations: 0 / 0.5186 GB, free: 11.73 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.008571/0.3772, allocations: 3.617 MB / 0.5222 GB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3772, allocations: 8.672 kB / 0.5222 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009446/0.3782, allocations: 0.5988 MB / 0.5228 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007394/0.3856, allocations: 1.86 MB / 0.5246 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.3892, allocations: 1.389 MB / 0.5259 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3894, allocations: 159.8 kB / 0.5261 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/0.3901, allocations: 221.3 kB / 0.5263 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.4043, allocations: 8.717 MB / 0.5348 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.829e-05/0.4044, allocations: 25.06 kB / 0.5348 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.4047, allocations: 106.4 kB / 0.5349 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003208/0.4079, allocations: 2.088 MB / 0.537 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.4218, allocations: 7.532 MB / 0.5443 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/0.4652, allocations: 25.53 MB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005092/0.4703, allocations: 1.672 MB / 0.5709 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.4722, allocations: 0.8802 MB / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.4834, allocations: 3.83 MB / 0.5755 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.4835, allocations: 43.56 kB / 0.5755 GB, free: 6.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 4.248e-06/0.4835, allocations: 0 / 0.5755 GB, free: 6.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.01679/0.5003, allocations: 6.721 MB / 0.5821 GB, free: 160 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.5003, allocations: 64.41 kB / 0.5822 GB, free: 84 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007061/0.5074, allocations: 3.095 MB / 0.5852 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.5077, allocations: 52.36 kB / 0.5852 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002246/0.51, allocations: 2.452 MB / 0.5876 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007192/0.5107, allocations: 0.5376 MB / 0.5882 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/0.5124, allocations: 0.856 MB / 0.589 GB, free: 9.086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5125, allocations: 305.1 kB / 0.5893 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/0.515, allocations: 1.355 MB / 0.5906 GB, free: 7.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/0.5197, allocations: 3.807 MB / 0.5943 GB, free: 2.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007318/0.527, allocations: 5.517 MB / 0.5997 GB, free: 12.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.757e-05/0.5271, allocations: 24 kB / 0.5997 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01061/0.5377, allocations: 5.338 MB / 0.605 GB, free: 6.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.5379, allocations: 40 kB / 0.605 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/0.538, allocations: 84.52 kB / 0.6051 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008781/0.5389, allocations: 386.6 kB / 0.6054 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.5419, allocations: 0.9202 MB / 0.6063 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/0.5498, allocations: 8.54 MB / 0.6147 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.5529, allocations: 223.9 kB / 0.6149 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/0.5535, allocations: 258.7 kB / 0.6151 GB, free: 11.84 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.003098/0.5566, allocations: 1.7 MB / 0.6168 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/0.5571, allocations: 250.3 kB / 0.617 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.561, allocations: 1.96 MB / 0.6189 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001778/0.5612, allocations: 40.23 kB / 0.619 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.5612, allocations: 5.078 kB / 0.619 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5612, allocations: 3.984 kB / 0.619 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.5725, allocations: 5.352 MB / 0.6242 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5725, allocations: 4 kB / 0.6242 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.5733, allocations: 180.2 kB / 0.6244 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.5738, allocations: 167.6 kB / 0.6246 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.5739, allocations: 27.98 kB / 0.6246 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.5784, allocations: 4.881 MB / 0.6294 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5784, allocations: 6.625 kB / 0.6294 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/0.5832, allocations: 2.883 MB / 0.6322 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007873/0.584, allocations: 254.3 kB / 0.6324 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/0.5845, allocations: 27.94 kB / 0.6324 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.5855, allocations: 66.97 kB / 0.6325 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5857, allocations: 76.8 kB / 0.6326 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/0.5858, allocations: 43.98 kB / 0.6326 GB, free: 9.414 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003354/0.5891, allocations: 1.882 MB / 0.6345 GB, free: 7.523 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5891, allocations: 4.062 kB / 0.6345 GB, free: 7.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003536/0.5927, allocations: 0.7069 MB / 0.6352 GB, free: 6.816 MB / 478.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.005144/0.5978, allocations: 3.515 MB / 0.6386 GB, free: 3.223 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006075/0.6039, allocations: 3.605 MB / 0.6421 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6039, allocations: 4 kB / 0.6421 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.6055, allocations: 1.077 MB / 0.6432 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.6076, allocations: 412.9 kB / 0.6436 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05015/0.6578, allocations: 30.08 MB / 0.6729 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004076/0.6618, allocations: 2.201 MB / 0.6751 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003221/0.6651, allocations: 1.21 MB / 0.6763 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/0.6674, allocations: 1.448 MB / 0.6777 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of SimCode: time 1.213e-06/0.6674, allocations: 3.938 kB / 0.6777 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/0.9959, allocations: 47.55 MB / 0.7241 GB, free: 187.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.56, allocations: 5.344 kB / 0.7241 GB, free: 187.2 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.390836285892874] Failed to read output from testmodel.py, exit status != 0: 15.712136187124997 15.733452405 15.361020236 Calling exit ...