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.001491/0.001491, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001792/0.001792, allocations: 217.8 kB / 22.25 MB, free: 5.125 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 8 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.04881/0.04881, allocations: 9.239 MB / 321.7 MB, free: 10.08 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.002157/0.002157, allocations: 63.91 kB / 447.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1247, allocations: 55.47 MB / 0.4914 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01202/0.1367, allocations: 9.596 MB / 0.5008 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005947/0.1427, allocations: 2.817 MB / 0.5035 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.1438, allocations: 39.88 kB / 0.5036 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1449, allocations: 421.2 kB / 0.504 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.1491, allocations: 1.47 MB / 0.5054 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.1496, allocations: 167.6 kB / 0.5056 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.1538, allocations: 2.693 MB / 0.5082 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.1552, allocations: 0.8006 MB / 0.509 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.1566, allocations: 0.9921 MB / 0.51 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.159, allocations: 1.53 MB / 0.5114 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004453/0.1594, allocations: 248 kB / 0.5117 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1611, allocations: 0.8894 MB / 0.5125 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.1626, allocations: 1.347 MB / 0.5139 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2759/0.4385, allocations: 1.687 MB / 0.5155 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006723/0.4453, allocations: 5.375 MB / 0.5208 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4453, allocations: 0.8438 kB / 0.5208 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4453, allocations: 1.219 kB / 0.5208 GB, free: 9.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.4455, allocations: 0.875 kB / 0.5208 GB, free: 9.082 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.009212/0.4547, allocations: 3.616 MB / 0.5243 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.4548, allocations: 12.16 kB / 0.5243 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001229/0.456, allocations: 0.5909 MB / 0.5249 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007811/0.4638, allocations: 1.859 MB / 0.5267 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/0.4681, allocations: 1.373 MB / 0.528 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.4683, allocations: 165.5 kB / 0.5282 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007045/0.469, allocations: 216 kB / 0.5284 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.4855, allocations: 8.72 MB / 0.5369 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.4856, allocations: 24.25 kB / 0.5369 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/0.486, allocations: 102.1 kB / 0.537 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00356/0.4896, allocations: 2.091 MB / 0.5391 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.506, allocations: 7.548 MB / 0.5465 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04731/0.5533, allocations: 26.96 MB / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/0.5581, allocations: 1.669 MB / 0.5744 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.5598, allocations: 0.8833 MB / 0.5753 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.5699, allocations: 4.182 MB / 0.5794 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.5699, allocations: 43.56 kB / 0.5794 GB, free: 1.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 5.721e-06/0.5699, allocations: 0.8438 kB / 0.5794 GB, free: 1.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.01622/0.5862, allocations: 6.732 MB / 0.586 GB, free: 10.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.5862, allocations: 64.41 kB / 0.586 GB, free: 10.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/0.5912, allocations: 2.94 MB / 0.5889 GB, free: 7.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.5914, allocations: 41.7 kB / 0.5889 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.5937, allocations: 2.458 MB / 0.5913 GB, free: 5.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/0.5944, allocations: 0.5361 MB / 0.5919 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/0.5957, allocations: 0.8653 MB / 0.5927 GB, free: 4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5959, allocations: 301.1 kB / 0.593 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.5984, allocations: 1.359 MB / 0.5943 GB, free: 2.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/0.6031, allocations: 3.805 MB / 0.598 GB, free: 13.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/0.6109, allocations: 5.501 MB / 0.6034 GB, free: 6.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.256e-05/0.611, allocations: 24 kB / 0.6034 GB, free: 6.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01135/0.6224, allocations: 5.342 MB / 0.6087 GB, free: 1.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.6224, allocations: 44.25 kB / 0.6087 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.6225, allocations: 91.94 kB / 0.6088 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008533/0.6234, allocations: 381.4 kB / 0.6092 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.6263, allocations: 0.924 MB / 0.6101 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.6345, allocations: 8.579 MB / 0.6184 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/0.6384, allocations: 227 kB / 0.6186 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009367/0.6393, allocations: 256 kB / 0.6189 GB, free: 6.762 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.004205/0.6435, allocations: 1.695 MB / 0.6205 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/0.6441, allocations: 250.3 kB / 0.6208 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.6481, allocations: 1.946 MB / 0.6227 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001879/0.6483, allocations: 43.95 kB / 0.6227 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6483, allocations: 4.281 kB / 0.6227 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6483, allocations: 3.984 kB / 0.6227 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6598, allocations: 5.592 MB / 0.6282 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.6598, allocations: 7.938 kB / 0.6282 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.6606, allocations: 184.1 kB / 0.6284 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.661, allocations: 158.5 kB / 0.6285 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/0.6611, allocations: 27.12 kB / 0.6286 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/0.6658, allocations: 4.897 MB / 0.6333 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.6658, allocations: 12 kB / 0.6334 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/0.6711, allocations: 2.882 MB / 0.6362 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/0.6719, allocations: 260.9 kB / 0.6364 GB, free: 4.293 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.6722, allocations: 20 kB / 0.6364 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.673, allocations: 66.42 kB / 0.6365 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.6732, allocations: 88.8 kB / 0.6366 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/0.6733, allocations: 44.64 kB / 0.6366 GB, free: 4.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003285/0.6766, allocations: 1.874 MB / 0.6385 GB, free: 2.199 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6766, allocations: 0 / 0.6385 GB, free: 2.199 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003533/0.6801, allocations: 0.7172 MB / 0.6392 GB, free: 1.484 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.005151/0.6853, allocations: 3.514 MB / 0.6426 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006448/0.6917, allocations: 3.603 MB / 0.6461 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6917, allocations: 1.625 kB / 0.6461 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.6934, allocations: 1.076 MB / 0.6472 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.6955, allocations: 421.3 kB / 0.6476 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05098/0.7465, allocations: 30.08 MB / 0.6769 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003664/0.7502, allocations: 2.749 MB / 0.6796 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003034/0.7532, allocations: 1.213 MB / 0.6808 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.7553, allocations: 1.444 MB / 0.6822 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/0.7553, allocations: 0 / 0.6822 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.355/1.11, allocations: 50.44 MB / 0.7315 GB, free: 179.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/19.22, allocations: 11.56 kB / 0.7315 GB, free: 179.3 MB / 0.545 GB " [Timeout remaining time 641] (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: 22.33021385900065] Failed to read output from testmodel.py, exit status != 0: 19.36731286000213 19.387845116 18.938805359 Calling exit ...