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.001401/0.001401, allocations: 107.4 kB / 17.06 MB, free: 6.098 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.001401/0.001401, allocations: 197.4 kB / 18 MB, free: 5.168 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8944/0.8944, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 66.7 kB / 0.5705 GB, free: 39.95 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1191, allocations: 80.69 MB / 0.6493 GB, free: 13.48 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2): time 0.01036/0.1295, allocations: 9.216 MB / 0.6583 GB, free: 4.219 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.006869/0.1364, allocations: 3.633 MB / 0.6619 GB, free: 0.5742 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1377, allocations: 51.81 kB / 0.6619 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.1409, allocations: 1.553 MB / 0.6634 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.1449, allocations: 1.572 MB / 0.665 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1464, allocations: 0.6043 MB / 0.6655 GB, free: 12.78 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.009384/0.1558, allocations: 7.294 MB / 0.6727 GB, free: 5.473 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006098/0.1619, allocations: 5.232 MB / 0.6778 GB, free: 176 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.1653, allocations: 2.146 MB / 0.6799 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.1696, allocations: 2.898 MB / 0.6827 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.1709, allocations: 416 kB / 0.6831 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.1737, allocations: 1.307 MB / 0.6844 GB, free: 9.398 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0029/0.1766, allocations: 2.49 MB / 0.6868 GB, free: 6.902 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.004206/0.1809, allocations: 2.972 MB / 0.6897 GB, free: 3.914 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.1919, allocations: 9.738 MB / 0.6992 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.192, allocations: 0 / 0.6992 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.403e-06/0.192, allocations: 0 / 0.6992 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0002565/0.1923, allocations: 4 kB / 0.6992 GB, free: 10.14 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.02125/0.2135, allocations: 8.203 MB / 0.7072 GB, free: 1.836 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2136, allocations: 11.89 kB / 0.7072 GB, free: 1.824 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001931/0.2155, allocations: 0.7923 MB / 0.708 GB, free: 1.02 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2856/0.5012, allocations: 51.36 MB / 0.7582 GB, free: 13.57 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.5151, allocations: 6.651 MB / 0.7647 GB, free: 6.836 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.5154, allocations: 262.9 kB / 0.7649 GB, free: 6.578 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.5167, allocations: 375.7 kB / 0.7653 GB, free: 6.211 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4609/0.9776, allocations: 12 MB / 0.777 GB, free: 105.9 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.9779, allocations: 66.53 kB / 0.7771 GB, free: 105.8 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005751/0.9784, allocations: 168 kB / 0.7772 GB, free: 105.8 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/0.982, allocations: 2.135 MB / 0.7793 GB, free: 105.4 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/1.001, allocations: 10.45 MB / 0.7895 GB, free: 102.1 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04206/1.043, allocations: 45.26 MB / 0.8337 GB, free: 62.09 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008735/1.051, allocations: 4.751 MB / 0.8384 GB, free: 57.2 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/1.054, allocations: 2.757 MB / 0.841 GB, free: 54.44 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/1.054, allocations: 356 kB / 0.8414 GB, free: 54.05 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00737/1.062, allocations: 3.174 MB / 0.8445 GB, free: 50.85 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=209): time 5.851e-06/1.062, allocations: 0 / 0.8445 GB, free: 50.85 MB / 0.6079 GB Notification: Performance of matching and sorting (n=254): time 0.05933/1.121, allocations: 29.05 MB / 0.8729 GB, free: 21.99 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/1.121, allocations: 308.7 kB / 0.8731 GB, free: 21.62 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005981/1.127, allocations: 5.318 MB / 0.8783 GB, free: 16.38 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.000529/1.128, allocations: 69.7 kB / 0.8784 GB, free: 16.3 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.13, allocations: 3.651 MB / 0.882 GB, free: 12.86 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/1.131, allocations: 0.9961 MB / 0.8829 GB, free: 11.86 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/1.133, allocations: 1.317 MB / 0.8842 GB, free: 10.54 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 3.599e-05/1.133, allocations: 301.1 kB / 0.8845 GB, free: 10.24 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00333/1.136, allocations: 3.002 MB / 0.8875 GB, free: 7.23 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/1.141, allocations: 6.554 MB / 0.8939 GB, free: 14.93 MB / 0.6235 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.154, allocations: 10.32 MB / 0.9039 GB, free: 2.887 MB / 0.6235 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.243e-05/1.154, allocations: 32 kB / 0.904 GB, free: 2.855 MB / 0.6235 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02125/1.176, allocations: 11.32 MB / 0.915 GB, free: 7.52 MB / 0.6392 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.176, allocations: 89.7 kB / 0.9151 GB, free: 7.426 MB / 0.6392 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.176, allocations: 120 kB / 0.9152 GB, free: 7.309 MB / 0.6392 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005043/1.181, allocations: 2.081 MB / 0.9172 GB, free: 5.223 MB / 0.6392 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/1.186, allocations: 1.571 MB / 0.9188 GB, free: 3.648 MB / 0.6392 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.204, allocations: 13.08 MB / 0.9316 GB, free: 6.418 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004926/1.209, allocations: 499.2 kB / 0.932 GB, free: 5.93 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009702/1.21, allocations: 371.9 kB / 0.9324 GB, free: 5.566 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.004932/1.215, allocations: 2.925 MB / 0.9352 GB, free: 2.629 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009551/1.216, allocations: 464.9 kB / 0.9357 GB, free: 2.172 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.228, allocations: 6.373 MB / 0.9419 GB, free: 11.77 MB / 0.6704 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/1.228, allocations: 28 kB / 0.9419 GB, free: 11.75 MB / 0.6704 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.228, allocations: 8 kB / 0.9419 GB, free: 11.74 MB / 0.6704 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-05/1.228, allocations: 15.95 kB / 0.942 GB, free: 11.72 MB / 0.6704 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.254, allocations: 14.75 MB / 0.9564 GB, free: 12.71 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/1.254, allocations: 8 kB / 0.9564 GB, free: 12.71 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/1.256, allocations: 0.4991 MB / 0.9569 GB, free: 12.21 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004778/1.261, allocations: 1.877 MB / 0.9587 GB, free: 10.32 MB / 0.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000405/1.262, allocations: 59.97 kB / 0.9587 GB, free: 10.27 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.277, allocations: 11.76 MB / 0.9702 GB, free: 14.35 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.277, allocations: 15.94 kB / 0.9702 GB, free: 14.34 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.294, allocations: 10.04 MB / 0.98 GB, free: 4.113 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.296, allocations: 0.9859 MB / 0.981 GB, free: 3.105 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/1.297, allocations: 55.92 kB / 0.9811 GB, free: 3.051 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.299, allocations: 275.6 kB / 0.9813 GB, free: 2.781 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005446/1.299, allocations: 184.7 kB / 0.9815 GB, free: 2.602 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/1.3, allocations: 79.98 kB / 0.9816 GB, free: 2.523 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.005702/1.305, allocations: 3.472 MB / 0.985 GB, free: 15.06 MB / 0.7173 GB Notification: Performance of sort global known variables: time 2.3e-07/1.305, allocations: 0 / 0.985 GB, free: 15.06 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.00526/1.311, allocations: 1.304 MB / 0.9862 GB, free: 13.76 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.01622/1.327, allocations: 10.73 MB / 0.9967 GB, free: 2.832 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.338, allocations: 7.19 MB / 1.004 GB, free: 11.62 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.338, allocations: 4 kB / 1.004 GB, free: 11.62 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 0.004505/1.343, allocations: 2.812 MB / 1.006 GB, free: 8.797 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.347, allocations: 0.7311 MB / 1.007 GB, free: 8.078 MB / 0.7329 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09983/1.447, allocations: 62.7 MB / 1.068 GB, free: 3.457 MB / 0.7954 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2559/1.703, allocations: 4.141 MB / 1.072 GB, free: 280.1 MB / 0.7954 GB Notification: Performance of simCode: alias equations: time 0.006539/1.709, allocations: 2.758 MB / 1.075 GB, free: 280 MB / 0.7954 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003347/1.713, allocations: 2.309 MB / 1.077 GB, free: 280 MB / 0.7954 GB Notification: Performance of SimCode: time 7.52e-07/1.713, allocations: 0 / 1.077 GB, free: 280 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.84, allocations: 105.9 MB / 1.181 GB, free: 197.6 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.35/28.19, allocations: 14.89 kB / 1.181 GB, free: 197.6 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