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.001047/0.001047, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009398/0.0009398, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8722/0.8722, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.03051/0.03051, allocations: 7.117 MB / 266.3 MB, free: 6.336 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 392.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.339e-05, allocations: 6.281 kB / 392.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.006444/0.006467, allocations: 8.355 MB / 400.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.01078, allocations: 2.651 MB / 403.4 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009109/0.01169, allocations: 39.88 kB / 403.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007646/0.01245, allocations: 425 kB / 403.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.0151, allocations: 1.512 MB / 405.4 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.01546, allocations: 175.5 kB / 405.5 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.018, allocations: 2.758 MB / 408.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.01911, allocations: 0.7966 MB / 409.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.02073, allocations: 1.496 MB / 410.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.02216, allocations: 1.402 MB / 412 MB, free: 320 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004281/0.02259, allocations: 251.9 kB / 412.2 MB, free: 68 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1382/0.1608, allocations: 0.8313 MB / 413.1 MB, free: 17.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.1622, allocations: 1.385 MB / 414.4 MB, free: 17.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.1638, allocations: 0.8948 MB / 415.3 MB, free: 17.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.1695, allocations: 5.336 MB / 420.7 MB, free: 17.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1695, allocations: 1.797 kB / 420.7 MB, free: 17.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1695, allocations: 1.5 kB / 420.7 MB, free: 17.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001756/0.1697, allocations: 0 / 420.7 MB, free: 17.31 MB / 330.7 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.006931/0.1766, allocations: 3.588 MB / 424.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1767, allocations: 9.625 kB / 424.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006649/0.1773, allocations: 0.597 MB / 424.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/0.1813, allocations: 1.953 MB / 426.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.1833, allocations: 1.373 MB / 428.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.1834, allocations: 167 kB / 428.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.1837, allocations: 209.2 kB / 428.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007652/0.1913, allocations: 8.684 MB / 437.3 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.1914, allocations: 32.83 kB / 437.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.1916, allocations: 106.2 kB / 437.4 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.1931, allocations: 2.092 MB / 439.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007332/0.2005, allocations: 7.466 MB / 446.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.2204, allocations: 25.44 MB / 472.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.223, allocations: 1.705 MB / 474.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.224, allocations: 0.8573 MB / 474.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004718/0.2287, allocations: 3.831 MB / 478.8 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2287, allocations: 43.55 kB / 478.8 MB, free: 2.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 2.605e-06/0.2287, allocations: 4 kB / 478.8 MB, free: 2.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.008725/0.2375, allocations: 6.611 MB / 485.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.2375, allocations: 68.39 kB / 485.5 MB, free: 11.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.2407, allocations: 3.074 MB / 488.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.2408, allocations: 46.64 kB / 488.6 MB, free: 8.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.2419, allocations: 2.43 MB / 491.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.2422, allocations: 0.5309 MB / 491.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/0.243, allocations: 0.8445 MB / 492.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.2431, allocations: 301.1 kB / 492.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.2446, allocations: 1.339 MB / 494.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.2473, allocations: 3.781 MB / 497.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/0.2518, allocations: 5.47 MB / 0.4915 GB, free: 7.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/0.2518, allocations: 24 kB / 0.4915 GB, free: 7.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.005493/0.2573, allocations: 5.286 MB / 0.4967 GB, free: 2.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.2573, allocations: 40 kB / 0.4967 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-05/0.2574, allocations: 91.94 kB / 0.4968 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.2578, allocations: 372.7 kB / 0.4972 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.2593, allocations: 0.9202 MB / 0.4981 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.2638, allocations: 8.535 MB / 0.5064 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.2652, allocations: 220 kB / 0.5066 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.2655, allocations: 256 kB / 0.5069 GB, free: 7.129 MB / 410.7 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.001907/0.2674, allocations: 1.701 MB / 0.5085 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.2675, allocations: 250.3 kB / 0.5088 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.2698, allocations: 1.907 MB / 0.5106 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/0.2699, allocations: 31.97 kB / 0.5107 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2699, allocations: 4 kB / 0.5107 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2699, allocations: 3.984 kB / 0.5107 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.2758, allocations: 5.304 MB / 0.5158 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2758, allocations: 4 kB / 0.5159 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.2762, allocations: 179.7 kB / 0.516 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.2764, allocations: 162.8 kB / 0.5162 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.2765, allocations: 20 kB / 0.5162 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.2791, allocations: 4.866 MB / 0.5209 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2791, allocations: 4.031 kB / 0.521 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.2818, allocations: 2.814 MB / 0.5237 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.2821, allocations: 254.3 kB / 0.5239 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.2822, allocations: 23.94 kB / 0.524 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.2826, allocations: 64.2 kB / 0.524 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2827, allocations: 80.8 kB / 0.5241 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.2828, allocations: 44.53 kB / 0.5241 GB, free: 4.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002017/0.2848, allocations: 1.863 MB / 0.526 GB, free: 3.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2848, allocations: 7.938 kB / 0.526 GB, free: 3.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001941/0.2868, allocations: 0.7063 MB / 0.5267 GB, free: 2.328 MB / 426.7 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.002929/0.2897, allocations: 3.435 MB / 0.53 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.2933, allocations: 3.551 MB / 0.5335 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2933, allocations: 0 / 0.5335 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008811/0.2942, allocations: 1.056 MB / 0.5345 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2952, allocations: 402.7 kB / 0.5349 GB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/0.3239, allocations: 29.72 MB / 0.5639 GB, free: 8.738 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.3261, allocations: 2.19 MB / 0.5661 GB, free: 6.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001814/0.3279, allocations: 1.213 MB / 0.5672 GB, free: 5.301 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.3291, allocations: 1.441 MB / 0.5687 GB, free: 3.859 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3291, allocations: 3.938 kB / 0.5687 GB, free: 3.855 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1927/0.5218, allocations: 47.42 MB / 0.615 GB, free: 129.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.49/10.01, allocations: 9.406 kB / 0.615 GB, free: 129.8 MB / 474.7 MB " [Timeout remaining time 650] (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: 11.769103411585093] Failed to read output from testmodel.py, exit status != 0: 10.119260979816318 10.12991298 9.958752824 Calling exit ...