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.001213/0.001214, allocations: 113 kB / 17.06 MB, free: 6.016 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.001148/0.001148, allocations: 191.9 kB / 18 MB, free: 5.098 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.185/1.185, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7905/0.7905, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 66.88 kB / 0.5705 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.111, allocations: 80.69 MB / 0.6493 GB, free: 13.51 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2): time 0.008957/0.12, allocations: 9.227 MB / 0.6583 GB, free: 4.246 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.005962/0.126, allocations: 3.621 MB / 0.6618 GB, free: 0.6133 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.1268, allocations: 55.75 kB / 0.6619 GB, free: 0.5586 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.1293, allocations: 1.553 MB / 0.6634 GB, free: 15 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.1322, allocations: 1.609 MB / 0.665 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1333, allocations: 0.6082 MB / 0.6656 GB, free: 12.78 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.00688/0.1402, allocations: 7.301 MB / 0.6727 GB, free: 5.461 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.1452, allocations: 5.225 MB / 0.6778 GB, free: 172 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.1483, allocations: 2.169 MB / 0.6799 GB, free: 13.99 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.152, allocations: 2.906 MB / 0.6828 GB, free: 11.08 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0009384/0.153, allocations: 416 kB / 0.6832 GB, free: 10.67 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.1553, allocations: 1.311 MB / 0.6844 GB, free: 9.359 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.1577, allocations: 2.517 MB / 0.6869 GB, free: 6.836 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.003583/0.1613, allocations: 2.972 MB / 0.6898 GB, free: 3.848 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.173, allocations: 9.75 MB / 0.6993 GB, free: 10.06 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.1731, allocations: 0 / 0.6993 GB, free: 10.06 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.003e-06/0.1731, allocations: 0 / 0.6993 GB, free: 10.06 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0003311/0.1734, allocations: 0 / 0.6993 GB, free: 10.06 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.01973/0.1932, allocations: 8.203 MB / 0.7073 GB, free: 1.762 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1932, allocations: 15.88 kB / 0.7074 GB, free: 1.746 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00148/0.1947, allocations: 0.7884 MB / 0.7081 GB, free: 0.9453 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2613/0.4561, allocations: 51.37 MB / 0.7583 GB, free: 13.48 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.4695, allocations: 6.64 MB / 0.7648 GB, free: 6.766 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.4697, allocations: 266.9 kB / 0.765 GB, free: 6.504 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000891/0.4707, allocations: 375.7 kB / 0.7654 GB, free: 6.137 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.447/0.9176, allocations: 12 MB / 0.7771 GB, free: 105.9 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.9179, allocations: 67.17 kB / 0.7772 GB, free: 105.8 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005256/0.9184, allocations: 170.1 kB / 0.7773 GB, free: 105.8 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00345/0.9219, allocations: 2.134 MB / 0.7794 GB, free: 105.4 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.9396, allocations: 10.45 MB / 0.7896 GB, free: 102.1 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04119/0.9809, allocations: 45.25 MB / 0.8338 GB, free: 62.06 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008601/0.9895, allocations: 4.754 MB / 0.8385 GB, free: 57.16 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.992, allocations: 2.755 MB / 0.8411 GB, free: 54.4 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.9924, allocations: 358.4 kB / 0.8415 GB, free: 54 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007163/0.9995, allocations: 3.17 MB / 0.8446 GB, free: 50.81 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=209): time 4.108e-06/0.9996, allocations: 0 / 0.8446 GB, free: 50.81 MB / 0.6079 GB Notification: Performance of matching and sorting (n=254): time 0.06119/1.061, allocations: 29.05 MB / 0.873 GB, free: 21.96 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/1.061, allocations: 316.7 kB / 0.8733 GB, free: 21.58 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005682/1.067, allocations: 5.318 MB / 0.8784 GB, free: 16.34 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004454/1.067, allocations: 69.69 kB / 0.8785 GB, free: 16.26 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.002082/1.069, allocations: 3.64 MB / 0.8821 GB, free: 12.82 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008515/1.07, allocations: 0.9961 MB / 0.883 GB, free: 11.82 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/1.071, allocations: 1.317 MB / 0.8843 GB, free: 10.49 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/1.071, allocations: 301.1 kB / 0.8846 GB, free: 10.2 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/1.075, allocations: 2.994 MB / 0.8875 GB, free: 7.195 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/1.079, allocations: 6.566 MB / 0.894 GB, free: 14.88 MB / 0.6235 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.09, allocations: 10.31 MB / 0.904 GB, free: 2.852 MB / 0.6235 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-05/1.09, allocations: 36 kB / 0.9041 GB, free: 2.816 MB / 0.6235 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01816/1.108, allocations: 11.32 MB / 0.9151 GB, free: 7.477 MB / 0.6392 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.108, allocations: 81.7 kB / 0.9152 GB, free: 7.391 MB / 0.6392 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.109, allocations: 131.6 kB / 0.9153 GB, free: 7.266 MB / 0.6392 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/1.113, allocations: 2.085 MB / 0.9173 GB, free: 5.176 MB / 0.6392 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/1.118, allocations: 1.563 MB / 0.9189 GB, free: 3.609 MB / 0.6392 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/1.134, allocations: 13.09 MB / 0.9317 GB, free: 6.371 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/1.139, allocations: 499.3 kB / 0.9321 GB, free: 5.883 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006934/1.14, allocations: 367.9 kB / 0.9325 GB, free: 5.523 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.003922/1.144, allocations: 2.933 MB / 0.9354 GB, free: 2.578 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/1.145, allocations: 464.9 kB / 0.9358 GB, free: 2.121 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.155, allocations: 6.377 MB / 0.942 GB, free: 11.72 MB / 0.6704 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/1.155, allocations: 24 kB / 0.942 GB, free: 11.7 MB / 0.6704 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.155, allocations: 8 kB / 0.9421 GB, free: 11.69 MB / 0.6704 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/1.155, allocations: 15.95 kB / 0.9421 GB, free: 11.68 MB / 0.6704 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/1.179, allocations: 14.74 MB / 0.9565 GB, free: 12.67 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.179, allocations: 8.188 kB / 0.9565 GB, free: 12.66 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.18, allocations: 0.507 MB / 0.957 GB, free: 12.16 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004175/1.185, allocations: 1.873 MB / 0.9588 GB, free: 10.28 MB / 0.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.185, allocations: 59.98 kB / 0.9588 GB, free: 10.22 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/1.198, allocations: 11.76 MB / 0.9703 GB, free: 14.31 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.198, allocations: 11.94 kB / 0.9703 GB, free: 14.3 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.212, allocations: 10.04 MB / 0.9802 GB, free: 4.066 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.215, allocations: 0.9782 MB / 0.9811 GB, free: 3.066 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008125/1.216, allocations: 59.92 kB / 0.9812 GB, free: 3.008 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.218, allocations: 275.6 kB / 0.9814 GB, free: 2.738 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/1.218, allocations: 184.7 kB / 0.9816 GB, free: 2.559 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.219, allocations: 80.02 kB / 0.9817 GB, free: 2.484 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.004985/1.224, allocations: 3.472 MB / 0.9851 GB, free: 15.02 MB / 0.7173 GB Notification: Performance of sort global known variables: time 2.6e-07/1.224, allocations: 0 / 0.9851 GB, free: 15.02 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.00511/1.229, allocations: 1.301 MB / 0.9863 GB, free: 13.72 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.01492/1.244, allocations: 10.74 MB / 0.9968 GB, free: 2.785 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.254, allocations: 7.193 MB / 1.004 GB, free: 11.58 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.254, allocations: 4 kB / 1.004 GB, free: 11.57 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 0.00382/1.258, allocations: 2.806 MB / 1.007 GB, free: 8.758 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/1.262, allocations: 0.7319 MB / 1.007 GB, free: 8.035 MB / 0.7329 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08482/1.346, allocations: 62.7 MB / 1.069 GB, free: 3.418 MB / 0.7954 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2689/1.615, allocations: 4.14 MB / 1.073 GB, free: 279.4 MB / 0.7954 GB Notification: Performance of simCode: alias equations: time 0.007403/1.623, allocations: 2.758 MB / 1.075 GB, free: 279.4 MB / 0.7954 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004172/1.627, allocations: 2.314 MB / 1.078 GB, free: 279.4 MB / 0.7954 GB Notification: Performance of SimCode: time 1.102e-06/1.627, allocations: 0 / 1.078 GB, free: 279.4 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.752, allocations: 105.9 MB / 1.181 GB, free: 197 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.8/26.55, allocations: 7.156 kB / 1.181 GB, free: 197 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