Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.738/1.738, allocations: 221.5 MB / 230.3 MB, free: 7.543 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 84.53 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.567/1.567, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.013e-05, allocations: 4 kB / 0.5289 GB, free: 1.207 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.755, allocations: 82.83 MB / 0.6098 GB, free: 12.93 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.92, allocations: 146.5 MB / 0.7529 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.92, allocations: 76.53 kB / 0.753 GB, free: 135.3 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2443/2.165, allocations: 104.9 MB / 0.8554 GB, free: 34.72 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.615e-06/2.165, allocations: 0 / 0.8554 GB, free: 34.72 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002419/2.165, allocations: 99.94 kB / 0.8555 GB, free: 34.62 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1606 * Number of variables: 1606 Notification: Performance of Generate backend data structure: time 0.01483/2.18, allocations: 5.937 MB / 0.8613 GB, free: 28.61 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/2.18, allocations: 12.02 kB / 0.8613 GB, free: 28.59 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0355/2.215, allocations: 9.775 MB / 0.8709 GB, free: 18.8 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/2.235, allocations: 8.267 MB / 0.8789 GB, free: 10.45 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/2.235, allocations: 148 kB / 0.8791 GB, free: 10.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/2.237, allocations: 287.8 kB / 0.8794 GB, free: 10.02 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01139/2.249, allocations: 7.088 MB / 0.8863 GB, free: 2.922 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/2.274, allocations: 10.59 MB / 0.8966 GB, free: 7.285 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003247/2.274, allocations: 79.36 kB / 0.8967 GB, free: 7.207 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006817/2.275, allocations: 32 kB / 0.8967 GB, free: 7.176 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001886/2.277, allocations: 1.074 MB / 0.8978 GB, free: 6.098 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/2.35, allocations: 50.03 MB / 0.9466 GB, free: 2.445 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006505/2.356, allocations: 3.973 MB / 0.9505 GB, free: 14.32 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003987/2.36, allocations: 2.572 MB / 0.953 GB, free: 11.74 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/2.361, allocations: 360.3 kB / 0.9534 GB, free: 11.33 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004183/2.365, allocations: 2.722 MB / 0.956 GB, free: 8.578 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=209): time 5.34e-06/2.365, allocations: 0 / 0.956 GB, free: 8.578 MB / 0.6203 GB Notification: Performance of matching and sorting (n=255): time 0.05773/2.423, allocations: 25.07 MB / 0.9805 GB, free: 15.46 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/2.423, allocations: 316.7 kB / 0.9808 GB, free: 15.08 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008354/2.432, allocations: 4.067 MB / 0.9848 GB, free: 11 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0008302/2.433, allocations: 29.64 kB / 0.9848 GB, free: 10.96 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.004836/2.437, allocations: 3.578 MB / 0.9883 GB, free: 7.34 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/2.439, allocations: 0.9367 MB / 0.9892 GB, free: 6.391 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/2.44, allocations: 0 / 0.9892 GB, free: 6.391 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0005362/2.44, allocations: 0.5945 MB / 0.9898 GB, free: 5.789 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/2.445, allocations: 2.769 MB / 0.9925 GB, free: 3.016 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.602/3.047, allocations: 6.414 MB / 0.9988 GB, free: 163.6 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/3.059, allocations: 4.265 MB / 1.003 GB, free: 163.6 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004072/3.059, allocations: 37.16 kB / 1.003 GB, free: 163.6 MB / 0.6515 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02524/3.084, allocations: 10.16 MB / 1.013 GB, free: 163.2 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/3.085, allocations: 90.17 kB / 1.013 GB, free: 163.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/3.085, allocations: 131.3 kB / 1.013 GB, free: 163.2 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004808/3.09, allocations: 1.949 MB / 1.015 GB, free: 163.2 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/3.095, allocations: 1.517 MB / 1.016 GB, free: 163.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/3.108, allocations: 10.46 MB / 1.027 GB, free: 161.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006697/3.115, allocations: 336.9 kB / 1.027 GB, free: 161.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/3.117, allocations: 378.3 kB / 1.027 GB, free: 161.7 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[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],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 783 * Array equations: 3 * Algorithm blocks: 1 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001489/3.118, allocations: 454.5 kB / 1.028 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0102/3.128, allocations: 5.986 MB / 1.034 GB, free: 161.3 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/3.13, allocations: 419.9 kB / 1.034 GB, free: 161.3 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/3.14, allocations: 5.827 MB / 1.04 GB, free: 161.1 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/3.14, allocations: 30.09 kB / 1.04 GB, free: 161.1 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/3.14, allocations: 7.844 kB / 1.04 GB, free: 161.1 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-05/3.141, allocations: 10.31 kB / 1.04 GB, free: 161.1 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02247/3.163, allocations: 13.18 MB / 1.053 GB, free: 157.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/3.163, allocations: 10.98 kB / 1.053 GB, free: 157.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/3.165, allocations: 432.2 kB / 1.053 GB, free: 157.4 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00391/3.169, allocations: 1.723 MB / 1.055 GB, free: 157.2 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/3.169, allocations: 20.95 kB / 1.055 GB, free: 157.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/3.182, allocations: 9.355 MB / 1.064 GB, free: 153.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.55e-05/3.182, allocations: 16.31 kB / 1.064 GB, free: 153.5 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/3.196, allocations: 10.37 MB / 1.074 GB, free: 147.5 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/3.199, allocations: 0.8974 MB / 1.075 GB, free: 146.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/3.199, allocations: 16 kB / 1.075 GB, free: 146.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/3.201, allocations: 213.4 kB / 1.075 GB, free: 146.5 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/3.202, allocations: 182.4 kB / 1.075 GB, free: 146.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/3.202, allocations: 73.36 kB / 1.075 GB, free: 146.3 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.004336/3.206, allocations: 2.862 MB / 1.078 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.7e-07/3.206, allocations: 0 / 1.078 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.00683/3.213, allocations: 1.135 MB / 1.079 GB, free: 142.8 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 195 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,100.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/3.226, allocations: 13.02 MB / 1.092 GB, free: 131.3 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.00976/3.236, allocations: 6.585 MB / 1.098 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/3.236, allocations: 3.938 kB / 1.098 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.003351/3.239, allocations: 2.565 MB / 1.101 GB, free: 123.4 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/3.243, allocations: 0.5674 MB / 1.102 GB, free: 122.9 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/3.274, allocations: 12.77 MB / 1.114 GB, free: 112 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/3.278, allocations: 4.24 MB / 1.118 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.00597/3.284, allocations: 2.78 MB / 1.121 GB, free: 105.5 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/3.287, allocations: 2.307 MB / 1.123 GB, free: 103.2 MB / 0.6515 GB Notification: Performance of SimCode: time 5.91e-07/3.287, allocations: 0 / 1.123 GB, free: 103.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/3.459, allocations: 102.4 MB / 1.223 GB, free: 1.66 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/3.459, allocations: 177.7 kB / 1.223 GB, free: 1.461 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.718/9.177, allocations: 0 / 1.223 GB, free: 1.461 MB / 0.6515 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.mat does not exist to compare? outputFormat=mat