Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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: translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 98.11 kB / 16.5 MB, free: 6.641 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.0014/0.0014, allocations: 198.5 kB / 17.43 MB, free: 6.062 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.006/1.006, allocations: 119.3 MB / 410.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 60.05 kB / 0.4916 GB, free: 12.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5319, allocations: 80.68 MB / 0.5704 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002159/0.5341, allocations: 1.389 MB / 0.5717 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002066/0.5343, allocations: 66.77 kB / 0.5718 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.5344, allocations: 3.938 kB / 0.5718 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.5345, allocations: 1.375 kB / 0.5718 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.669e-05/0.5346, allocations: 16.03 kB / 0.5718 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.5347, allocations: 20.03 kB / 0.5718 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.5349, allocations: 213.5 kB / 0.572 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.5349, allocations: 15.44 kB / 0.5721 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.535, allocations: 67.58 kB / 0.5721 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.5352, allocations: 110.4 kB / 0.5722 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.5353, allocations: 9.531 kB / 0.5722 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.5353, allocations: 9.219 kB / 0.5722 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.5354, allocations: 78.27 kB / 0.5723 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.5355, allocations: 73.55 kB / 0.5724 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.5356, allocations: 136.6 kB / 0.5725 GB, free: 41.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5356, allocations: 1.25 kB / 0.5725 GB, free: 41.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5356, allocations: 0 / 0.5725 GB, free: 41.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.5356, allocations: 0 / 0.5725 GB, free: 41.8 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009168/0.5366, allocations: 0.5198 MB / 0.573 GB, free: 41.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5366, allocations: 9.688 kB / 0.573 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.5367, allocations: 14.22 kB / 0.573 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.5369, allocations: 218.8 kB / 0.5733 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.5369, allocations: 11.94 kB / 0.5733 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.537, allocations: 28.44 kB / 0.5733 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.5373, allocations: 187.3 kB / 0.5735 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5373, allocations: 192 / 0.5735 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.5373, allocations: 13.44 kB / 0.5735 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.5373, allocations: 7.656 kB / 0.5735 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.5375, allocations: 109.1 kB / 0.5736 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.5386, allocations: 0.5945 MB / 0.5742 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.5404, allocations: 0.5788 MB / 0.5747 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.5406, allocations: 101.2 kB / 0.5748 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.5406, allocations: 3.031 kB / 0.5748 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.5406, allocations: 32.09 kB / 0.5749 GB, free: 40.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.132e-06/0.5406, allocations: 0 / 0.5749 GB, free: 40.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0005486/0.5412, allocations: 316.8 kB / 0.5752 GB, free: 39.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.5412, allocations: 57.97 kB / 0.5752 GB, free: 39.9 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.5413, allocations: 130.7 kB / 0.5754 GB, free: 39.78 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.5413, allocations: 30.95 kB / 0.5754 GB, free: 39.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.5413, allocations: 109.2 kB / 0.5755 GB, free: 39.64 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.5414, allocations: 93.94 kB / 0.5756 GB, free: 39.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.5415, allocations: 75.91 kB / 0.5757 GB, free: 39.5 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.5415, allocations: 327.4 kB / 0.576 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.5417, allocations: 112.2 kB / 0.5761 GB, free: 39.13 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.5419, allocations: 116 kB / 0.5762 GB, free: 39.08 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.5423, allocations: 256.5 kB / 0.5764 GB, free: 38.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5423, allocations: 5.094 kB / 0.5764 GB, free: 38.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004647/0.5427, allocations: 338.3 kB / 0.5768 GB, free: 38.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5428, allocations: 6.219 kB / 0.5768 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5428, allocations: 4 kB / 0.5768 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5428, allocations: 1.375 kB / 0.5768 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.5432, allocations: 112.8 kB / 0.5769 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5433, allocations: 1.562 kB / 0.5769 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5434, allocations: 35.23 kB / 0.5769 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.5434, allocations: 7.938 kB / 0.5769 GB, free: 38.73 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/0.5435, allocations: 140.7 kB / 0.5771 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.5436, allocations: 13.44 kB / 0.5771 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.5436, allocations: 30.03 kB / 0.5771 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5436, allocations: 3.125 kB / 0.5771 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5437, allocations: 0 / 0.5771 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.5437, allocations: 0 / 0.5771 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.5439, allocations: 267.8 kB / 0.5774 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5439, allocations: 4 kB / 0.5774 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.5446, allocations: 112.5 kB / 0.5775 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5446, allocations: 1.375 kB / 0.5775 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.5446, allocations: 13.48 kB / 0.5775 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5446, allocations: 1.375 kB / 0.5775 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5446, allocations: 1.375 kB / 0.5775 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.5451, allocations: 426.8 kB / 0.5779 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.5451, allocations: 92.98 kB / 0.578 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.5452, allocations: 17.48 kB / 0.578 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5454, allocations: 9.484 kB / 0.578 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.5454, allocations: 22.78 kB / 0.578 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.5454, allocations: 4.125 kB / 0.578 GB, free: 37.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.5455, allocations: 97.2 kB / 0.5781 GB, free: 37.79 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5455, allocations: 0 / 0.5781 GB, free: 37.79 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002732/0.5458, allocations: 56.94 kB / 0.5782 GB, free: 37.79 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001003/0.5459, allocations: 123.6 kB / 0.5783 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.5463, allocations: 249.7 kB / 0.5785 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5463, allocations: 0 / 0.5785 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.5465, allocations: 113.8 kB / 0.5786 GB, free: 37.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.5467, allocations: 23.5 kB / 0.5787 GB, free: 37.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.5484, allocations: 1.46 MB / 0.5801 GB, free: 36.31 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.5485, allocations: 0.7364 MB / 0.5808 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.5487, allocations: 72.78 kB / 0.5809 GB, free: 35.56 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.5488, allocations: 18.5 kB / 0.5809 GB, free: 35.55 MB / 462.3 MB Notification: Performance of SimCode: time 3.01e-07/0.5488, allocations: 4 kB / 0.5809 GB, free: 35.55 MB / 462.3 MB Notification: Performance of Templates: time 0.004678/0.5535, allocations: 1.683 MB / 0.5825 GB, free: 34.76 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches