Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 188.6 kB / 23.71 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 47.92 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2457, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0135/0.2592, allocations: 10.49 MB / 433.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00852/0.2677, allocations: 4.003 MB / 437.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.2693, allocations: 83.56 kB / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005269/0.2746, allocations: 2.69 MB / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005153/0.2798, allocations: 2.035 MB / 441.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.2816, allocations: 0.8228 MB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006078/0.2877, allocations: 4.603 MB / 447.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003598/0.2913, allocations: 2.918 MB / 450.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.294, allocations: 1.721 MB / 452 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/0.2975, allocations: 2.387 MB / 454.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008195/0.2983, allocations: 352 kB / 454.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.3008, allocations: 1.186 MB / 455.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.3032, allocations: 2.166 MB / 458 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.3055, allocations: 1.821 MB / 459.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008886/0.3144, allocations: 7.606 MB / 467.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3144, allocations: 0 / 467.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3144, allocations: 4 kB / 467.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002185/0.3146, allocations: 0 / 467.5 MB, free: 1.293 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01115/0.3257, allocations: 5.365 MB / 472.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3258, allocations: 8.031 kB / 472.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/0.327, allocations: 0.7943 MB / 473.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008327/0.3353, allocations: 2.166 MB / 475.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007613/0.3429, allocations: 3.089 MB / 478.9 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.3432, allocations: 278.8 kB / 479.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.3445, allocations: 431.6 kB / 479.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.3672, allocations: 12.29 MB / 491.9 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.3674, allocations: 59.5 kB / 491.9 MB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/0.3678, allocations: 167.8 kB / 492.1 MB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003415/0.3712, allocations: 2.162 MB / 494.3 MB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.3937, allocations: 10.18 MB / 0.4926 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2602/0.6538, allocations: 42.49 MB / 0.5341 GB, free: 99.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.6657, allocations: 3.792 MB / 0.5378 GB, free: 99.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.6679, allocations: 1.625 MB / 0.5394 GB, free: 99.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.68, allocations: 6.495 MB / 0.5457 GB, free: 96.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.68, allocations: 52.09 kB / 0.5458 GB, free: 96.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.899e-06/0.68, allocations: 0 / 0.5458 GB, free: 96.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03921/0.7193, allocations: 15.9 MB / 0.5613 GB, free: 88.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008858/0.7201, allocations: 1.587 MB / 0.5629 GB, free: 86.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005005/0.7251, allocations: 4.464 MB / 0.5672 GB, free: 82.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.7254, allocations: 61.44 kB / 0.5673 GB, free: 82.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.7269, allocations: 3.543 MB / 0.5708 GB, free: 78.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/0.7275, allocations: 0.8338 MB / 0.5716 GB, free: 78.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.7292, allocations: 1.357 MB / 0.5729 GB, free: 76.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.7292, allocations: 313.1 kB / 0.5732 GB, free: 76.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.7318, allocations: 2.227 MB / 0.5754 GB, free: 74.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.7357, allocations: 6.348 MB / 0.5816 GB, free: 65.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/0.743, allocations: 9.262 MB / 0.5906 GB, free: 54.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.833e-05/0.743, allocations: 40 kB / 0.5906 GB, free: 54.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01261/0.7557, allocations: 9.09 MB / 0.5995 GB, free: 45.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/0.7557, allocations: 71.94 kB / 0.5996 GB, free: 45.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004489/0.7602, allocations: 2.84 MB / 0.6024 GB, free: 42.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.7631, allocations: 1.068 MB / 0.6034 GB, free: 41.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.7672, allocations: 1.567 MB / 0.6049 GB, free: 39.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.7706, allocations: 4.455 MB / 0.6093 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.775, allocations: 427.5 kB / 0.6097 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/0.7755, allocations: 419.6 kB / 0.6101 GB, free: 34.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002599/0.7781, allocations: 2.204 MB / 0.6123 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/0.7787, allocations: 399.8 kB / 0.6126 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/0.7839, allocations: 3.285 MB / 0.6158 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004354/0.7883, allocations: 2.734 MB / 0.6185 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.7883, allocations: 0 / 0.6185 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/0.7883, allocations: 15.95 kB / 0.6185 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.8031, allocations: 9.77 MB / 0.6281 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.8031, allocations: 12 kB / 0.6281 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.8045, allocations: 371.4 kB / 0.6284 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/0.8072, allocations: 0.9828 MB / 0.6294 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.8074, allocations: 59.97 kB / 0.6295 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/0.8115, allocations: 4.685 MB / 0.634 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007358/0.8122, allocations: 1.454 MB / 0.6354 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007821/0.82, allocations: 5.932 MB / 0.6412 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.8212, allocations: 381.2 kB / 0.6416 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/0.8217, allocations: 59.98 kB / 0.6417 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.8233, allocations: 139.8 kB / 0.6418 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.8236, allocations: 180.4 kB / 0.642 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.8237, allocations: 75.97 kB / 0.642 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003692/0.8274, allocations: 2.602 MB / 0.6446 GB, free: 14.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8274, allocations: 0 / 0.6446 GB, free: 14.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005047/0.8325, allocations: 1.144 MB / 0.6457 GB, free: 13.06 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01012/0.8426, allocations: 6.616 MB / 0.6522 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.8529, allocations: 5.557 MB / 0.6576 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.853, allocations: 0 / 0.6576 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004121/0.8571, allocations: 1.956 MB / 0.6595 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.86, allocations: 0.503 MB / 0.66 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08705/0.9471, allocations: 50.73 MB / 0.7095 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004893/0.952, allocations: 2.924 MB / 0.7124 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004713/0.9567, allocations: 2.015 MB / 0.7143 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002867/0.9596, allocations: 2.1 MB / 0.7164 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.9596, allocations: 0 / 0.7164 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3163/1.276, allocations: 73.76 MB / 0.7884 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/19.76, allocations: 4.062 kB / 0.7884 GB, free: 146.5 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.297037496231496] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'p2.s', 'p2.v'] 19.9414963577874 19.961730418 19.643259679 Calling exit ...