Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.5 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009957/0.0009959, allocations: 183.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB 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: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8608/0.8608, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003196, allocations: 8 kB / 0.4943 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 82.85 MB / 0.5752 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.5753/0.7477, allocations: 49.48 MB / 0.6235 GB, free: 1.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.03507/0.7829, allocations: 12 MB / 0.6352 GB, free: 9.133 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/0.7973, allocations: 256.7 kB / 0.6355 GB, free: 9.086 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.009885/0.8072, allocations: 2.466 MB / 0.6379 GB, free: 7.254 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0269/0.8341, allocations: 7.254 MB / 0.6449 GB, free: 1.094 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.8387, allocations: 0.8318 MB / 0.6458 GB, free: 268 kB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.09976/0.9385, allocations: 71.03 MB / 0.7151 GB, free: 9.16 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008358/0.9469, allocations: 5.435 MB / 0.7204 GB, free: 3.668 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.95, allocations: 1.363 MB / 0.7218 GB, free: 2.301 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.9533, allocations: 1.815 MB / 0.7235 GB, free: 492 kB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.9547, allocations: 179.9 kB / 0.7237 GB, free: 312 kB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.958, allocations: 0.9558 MB / 0.7246 GB, free: 15.35 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.002883/0.9609, allocations: 2.026 MB / 0.7266 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.9631, allocations: 0.9986 MB / 0.7276 GB, free: 12.31 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.9735, allocations: 7.389 MB / 0.7348 GB, free: 4.902 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9736, allocations: 0 / 0.7348 GB, free: 4.902 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9736, allocations: 3.938 kB / 0.7348 GB, free: 4.898 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0003655/0.974, allocations: 0 / 0.7348 GB, free: 4.898 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.01846/0.9924, allocations: 6.069 MB / 0.7407 GB, free: 14.75 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.9925, allocations: 12.03 kB / 0.7408 GB, free: 14.74 MB / 0.5764 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002674/0.9952, allocations: 0.7722 MB / 0.7415 GB, free: 13.95 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.247/1.242, allocations: 31.98 MB / 0.7727 GB, free: 13.92 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.255, allocations: 5.112 MB / 0.7777 GB, free: 8.73 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/1.255, allocations: 262.8 kB / 0.778 GB, free: 8.473 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/1.257, allocations: 367.7 kB / 0.7783 GB, free: 8.113 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/1.279, allocations: 11.59 MB / 0.7897 GB, free: 11.8 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/1.279, allocations: 55.48 kB / 0.7897 GB, free: 11.75 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006269/1.28, allocations: 167.9 kB / 0.7899 GB, free: 11.59 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/1.283, allocations: 2.076 MB / 0.7919 GB, free: 9.508 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/1.304, allocations: 10.11 MB / 0.8018 GB, free: 15.38 MB / 0.6389 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6557/1.96, allocations: 42.98 MB / 0.8437 GB, free: 195.9 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.971, allocations: 4.689 MB / 0.8483 GB, free: 195.2 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/1.99, allocations: 9.881 MB / 0.858 GB, free: 192.1 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.99, allocations: 55.25 kB / 0.858 GB, free: 192.1 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=186): time 5.671e-06/1.99, allocations: 0 / 0.858 GB, free: 192.1 MB / 0.6548 GB Notification: Performance of matching and sorting (n=218): time 0.06284/2.053, allocations: 26.78 MB / 0.8842 GB, free: 180.3 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/2.053, allocations: 308.4 kB / 0.8845 GB, free: 179.9 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/2.059, allocations: 5.215 MB / 0.8896 GB, free: 175.1 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.0005822/2.06, allocations: 53.7 kB / 0.8896 GB, free: 175 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/2.061, allocations: 3.393 MB / 0.8929 GB, free: 171.6 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008788/2.062, allocations: 0.8152 MB / 0.8937 GB, free: 170.8 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/2.063, allocations: 116.6 kB / 0.8938 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0002137/2.063, allocations: 0.5579 MB / 0.8944 GB, free: 170.1 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/2.066, allocations: 2.682 MB / 0.897 GB, free: 167.5 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/2.071, allocations: 6.125 MB / 0.903 GB, free: 159.8 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/2.076, allocations: 4.013 MB / 0.9069 GB, free: 155.9 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.274e-05/2.076, allocations: 36 kB / 0.9069 GB, free: 155.9 MB / 0.6548 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01911/2.095, allocations: 10.32 MB / 0.917 GB, free: 145.6 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/2.096, allocations: 56 kB / 0.9171 GB, free: 145.5 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003195/2.096, allocations: 122.6 kB / 0.9172 GB, free: 145.4 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/2.102, allocations: 1.941 MB / 0.9191 GB, free: 143.5 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/2.106, allocations: 1.454 MB / 0.9205 GB, free: 142 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/2.119, allocations: 11.92 MB / 0.9321 GB, free: 129.9 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/2.124, allocations: 444 kB / 0.9325 GB, free: 129.5 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/2.125, allocations: 353.5 kB / 0.9329 GB, free: 129.2 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (705): * Single equations (assignments): 701 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00515/2.13, allocations: 2.6 MB / 0.9354 GB, free: 126.6 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/2.131, allocations: 418.6 kB / 0.9358 GB, free: 126.1 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008196/2.14, allocations: 5.621 MB / 0.9413 GB, free: 120.5 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.175e-05/2.14, allocations: 29.02 kB / 0.9413 GB, free: 120.5 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/2.14, allocations: 8 kB / 0.9413 GB, free: 120.5 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/2.14, allocations: 11.95 kB / 0.9414 GB, free: 120.5 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02652/2.166, allocations: 12.28 MB / 0.9534 GB, free: 108.1 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/2.166, allocations: 4 kB / 0.9534 GB, free: 108.1 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/2.168, allocations: 391.7 kB / 0.9537 GB, free: 107.7 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/2.172, allocations: 1.75 MB / 0.9554 GB, free: 106 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003431/2.172, allocations: 44.48 kB / 0.9555 GB, free: 105.9 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/2.184, allocations: 11.45 MB / 0.9667 GB, free: 94.34 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/2.184, allocations: 4 kB / 0.9667 GB, free: 94.33 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/2.196, allocations: 9.333 MB / 0.9758 GB, free: 84.85 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/2.197, allocations: 0.4956 MB / 0.9763 GB, free: 84.33 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009652/2.198, allocations: 41.16 kB / 0.9763 GB, free: 84.29 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/2.2, allocations: 230.3 kB / 0.9765 GB, free: 84.07 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/2.201, allocations: 139 kB / 0.9767 GB, free: 83.93 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/2.201, allocations: 60.84 kB / 0.9767 GB, free: 83.87 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.004536/2.206, allocations: 3.409 MB / 0.98 GB, free: 80.46 MB / 0.6548 GB Notification: Performance of sort global known variables: time 4.21e-07/2.206, allocations: 0 / 0.98 GB, free: 80.46 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.0064/2.212, allocations: 1.247 MB / 0.9813 GB, free: 79.23 MB / 0.6548 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * 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 (159): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/2.224, allocations: 10.64 MB / 0.9916 GB, free: 68.5 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.009362/2.234, allocations: 6.455 MB / 0.9979 GB, free: 62.05 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/2.234, allocations: 0 / 0.9979 GB, free: 62.05 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/2.237, allocations: 2.542 MB / 1 GB, free: 59.49 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/2.241, allocations: 0.6289 MB / 1.001 GB, free: 58.87 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4242/2.665, allocations: 128.4 MB / 1.126 GB, free: 212.4 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005886/2.671, allocations: 4.04 MB / 1.13 GB, free: 211 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.005618/2.676, allocations: 2.204 MB / 1.133 GB, free: 211 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00367/2.68, allocations: 2.27 MB / 1.135 GB, free: 209.1 MB / 0.686 GB Notification: Performance of SimCode: time 1.613e-06/2.68, allocations: 0 / 1.135 GB, free: 209.1 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/2.819, allocations: 103.5 MB / 1.236 GB, free: 113.7 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/2.819, allocations: 245.2 kB / 1.236 GB, free: 113.4 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.281/7.101, allocations: 3.234 kB / 1.236 GB, free: 113.4 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat does not exist to compare? outputFormat=mat