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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 112.9 kB / 17.06 MB, free: 5.992 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.001223/0.001223, allocations: 196 kB / 18.01 MB, free: 5.074 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8576/0.8576, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 69.56 kB / 0.5705 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 80.69 MB / 0.6493 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2): time 0.01047/0.1445, allocations: 9.231 MB / 0.6583 GB, free: 4.223 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.007213/0.1518, allocations: 3.618 MB / 0.6619 GB, free: 0.5938 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.1532, allocations: 55.75 kB / 0.6619 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.1565, allocations: 1.561 MB / 0.6634 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.1613, allocations: 1.599 MB / 0.665 GB, free: 13.37 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.163, allocations: 0.6082 MB / 0.6656 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.009994/0.173, allocations: 7.294 MB / 0.6727 GB, free: 5.449 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006525/0.1795, allocations: 5.236 MB / 0.6778 GB, free: 148 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.1833, allocations: 2.165 MB / 0.6799 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/0.1876, allocations: 2.898 MB / 0.6828 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.189, allocations: 416 kB / 0.6832 GB, free: 10.66 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.192, allocations: 1.319 MB / 0.6845 GB, free: 9.34 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.1952, allocations: 2.513 MB / 0.6869 GB, free: 6.82 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.1996, allocations: 2.972 MB / 0.6898 GB, free: 3.832 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.2102, allocations: 9.746 MB / 0.6993 GB, free: 10.05 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2102, allocations: 0 / 0.6993 GB, free: 10.05 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2102, allocations: 0 / 0.6993 GB, free: 10.05 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0002843/0.2105, allocations: 0 / 0.6993 GB, free: 10.05 MB / 0.5452 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.01985/0.2304, allocations: 8.207 MB / 0.7073 GB, free: 1.746 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2304, allocations: 11.89 kB / 0.7074 GB, free: 1.734 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001459/0.2319, allocations: 0.7884 MB / 0.7081 GB, free: 0.9336 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2594/0.4913, allocations: 51.36 MB / 0.7583 GB, free: 13.48 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.5064, allocations: 6.651 MB / 0.7648 GB, free: 6.746 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.5067, allocations: 266.9 kB / 0.765 GB, free: 6.484 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.5082, allocations: 367.8 kB / 0.7654 GB, free: 6.125 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5648/1.073, allocations: 12.01 MB / 0.7771 GB, free: 105.8 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/1.073, allocations: 68.08 kB / 0.7772 GB, free: 105.8 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/1.074, allocations: 165.5 kB / 0.7773 GB, free: 105.7 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/1.078, allocations: 2.134 MB / 0.7794 GB, free: 105.4 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/1.098, allocations: 10.45 MB / 0.7896 GB, free: 102.1 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04862/1.147, allocations: 45.25 MB / 0.8338 GB, free: 61.99 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008855/1.156, allocations: 4.741 MB / 0.8385 GB, free: 57.1 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/1.159, allocations: 2.753 MB / 0.8411 GB, free: 54.34 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/1.159, allocations: 370.3 kB / 0.8415 GB, free: 53.93 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007227/1.166, allocations: 3.169 MB / 0.8446 GB, free: 50.74 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=209): time 4.729e-06/1.166, allocations: 0 / 0.8446 GB, free: 50.74 MB / 0.6079 GB Notification: Performance of matching and sorting (n=254): time 0.06463/1.231, allocations: 29.05 MB / 0.873 GB, free: 21.89 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/1.231, allocations: 320.7 kB / 0.8733 GB, free: 21.51 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/1.237, allocations: 5.318 MB / 0.8785 GB, free: 16.27 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004668/1.237, allocations: 61.7 kB / 0.8785 GB, free: 16.2 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.239, allocations: 3.651 MB / 0.8821 GB, free: 12.75 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009166/1.24, allocations: 1 MB / 0.8831 GB, free: 11.75 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/1.242, allocations: 1.306 MB / 0.8843 GB, free: 10.43 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/1.242, allocations: 305.1 kB / 0.8846 GB, free: 10.13 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003266/1.245, allocations: 2.991 MB / 0.8875 GB, free: 7.133 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004682/1.25, allocations: 6.566 MB / 0.894 GB, free: 14.82 MB / 0.6235 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.262, allocations: 10.31 MB / 0.904 GB, free: 2.785 MB / 0.6235 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.296e-05/1.262, allocations: 36.84 kB / 0.9041 GB, free: 2.75 MB / 0.6235 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0198/1.282, allocations: 11.32 MB / 0.9151 GB, free: 7.41 MB / 0.6392 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.282, allocations: 85.69 kB / 0.9152 GB, free: 7.32 MB / 0.6392 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/1.282, allocations: 127.9 kB / 0.9153 GB, free: 7.195 MB / 0.6392 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005114/1.287, allocations: 2.081 MB / 0.9173 GB, free: 5.109 MB / 0.6392 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005442/1.293, allocations: 1.571 MB / 0.9189 GB, free: 3.535 MB / 0.6392 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/1.31, allocations: 13.09 MB / 0.9317 GB, free: 6.301 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/1.316, allocations: 499.3 kB / 0.9321 GB, free: 5.812 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.317, allocations: 368.8 kB / 0.9325 GB, free: 5.453 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 44 (pulse1.count,$PRE.pulse1.count,pulse1.T_start,$PRE.pulse1.T_start,$whenCondition1,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005183/1.322, allocations: 2.929 MB / 0.9354 GB, free: 2.512 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.323, allocations: 464.9 kB / 0.9358 GB, free: 2.055 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.335, allocations: 6.373 MB / 0.942 GB, free: 11.66 MB / 0.6704 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/1.335, allocations: 28 kB / 0.942 GB, free: 11.63 MB / 0.6704 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/1.335, allocations: 12 kB / 0.9421 GB, free: 11.62 MB / 0.6704 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/1.335, allocations: 11.95 kB / 0.9421 GB, free: 11.61 MB / 0.6704 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.364, allocations: 14.74 MB / 0.9565 GB, free: 12.6 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/1.364, allocations: 8 kB / 0.9565 GB, free: 12.59 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.366, allocations: 0.4953 MB / 0.957 GB, free: 12.09 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004838/1.371, allocations: 1.882 MB / 0.9588 GB, free: 10.21 MB / 0.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/1.371, allocations: 52 kB / 0.9588 GB, free: 10.16 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/1.387, allocations: 11.76 MB / 0.9703 GB, free: 14.25 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.387, allocations: 11.94 kB / 0.9703 GB, free: 14.23 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/1.402, allocations: 10.05 MB / 0.9802 GB, free: 4 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/1.404, allocations: 0.9743 MB / 0.9811 GB, free: 3.004 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.405, allocations: 63.92 kB / 0.9812 GB, free: 2.941 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/1.408, allocations: 279.5 kB / 0.9814 GB, free: 2.668 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005918/1.409, allocations: 184.7 kB / 0.9816 GB, free: 2.488 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.409, allocations: 72.12 kB / 0.9817 GB, free: 2.418 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.006171/1.415, allocations: 3.472 MB / 0.9851 GB, free: 14.95 MB / 0.7173 GB Notification: Performance of sort global known variables: time 3.51e-07/1.415, allocations: 0 / 0.9851 GB, free: 14.95 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.006298/1.421, allocations: 1.305 MB / 0.9863 GB, free: 13.64 MB / 0.7173 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01646/1.438, allocations: 10.74 MB / 0.9968 GB, free: 2.719 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.449, allocations: 7.198 MB / 1.004 GB, free: 11.5 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.449, allocations: 0 / 1.004 GB, free: 11.5 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 0.004309/1.453, allocations: 2.808 MB / 1.007 GB, free: 8.684 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/1.458, allocations: 0.7331 MB / 1.007 GB, free: 7.961 MB / 0.7329 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0961/1.554, allocations: 62.7 MB / 1.069 GB, free: 3.344 MB / 0.7954 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.302/1.856, allocations: 4.137 MB / 1.073 GB, free: 279.8 MB / 0.7954 GB Notification: Performance of simCode: alias equations: time 0.007448/1.864, allocations: 2.764 MB / 1.075 GB, free: 279.8 MB / 0.7954 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/1.867, allocations: 2.31 MB / 1.078 GB, free: 279.8 MB / 0.7954 GB Notification: Performance of SimCode: time 7.82e-07/1.868, allocations: 0.7812 kB / 1.078 GB, free: 279.8 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/2.003, allocations: 105.9 MB / 1.181 GB, free: 197.3 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.57/27.57, allocations: 11.31 kB / 1.181 GB, free: 197.3 MB / 0.7954 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.csv --start-time 0 --stop-time 2 --timeout 300 --relative-tolerance 3e-08 --interface-type ModelExchange --solver CVode --output-interval 0.001 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches