Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 182.5 kB / 16.41 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000814/0.0008141, allocations: 88.98 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4744/0.4744, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.0004341, allocations: 19.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1573, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006677/0.164, allocations: 5.955 MB / 496.2 MB, free: 5.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.1689, allocations: 2.024 MB / 498.2 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.1695, allocations: 20 kB / 498.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.1702, allocations: 234.6 kB / 498.5 MB, free: 2.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1722, allocations: 0.7195 MB / 499.2 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1734, allocations: 498.8 kB / 499.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1746, allocations: 1.077 MB / 0.489 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3048/0.4795, allocations: 1.269 MB / 0.4903 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.4804, allocations: 406.7 kB / 0.4906 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.481, allocations: 0.5286 MB / 0.4912 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.4812, allocations: 46.94 kB / 0.4912 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.4819, allocations: 221.3 kB / 0.4914 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.4821, allocations: 197.6 kB / 0.4916 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.4824, allocations: 210.5 kB / 0.4918 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.4842, allocations: 1.11 MB / 0.4929 GB, free: 34.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4842, allocations: 0 / 0.4929 GB, free: 34.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.4842, allocations: 2.781 kB / 0.4929 GB, free: 34.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.4843, allocations: 0 / 0.4929 GB, free: 34.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004143/0.4884, allocations: 1.49 MB / 0.4943 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4885, allocations: 9.125 kB / 0.4944 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009954/0.4984, allocations: 1.446 MB / 0.4958 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.4998, allocations: 0.5279 MB / 0.4963 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.4999, allocations: 92.44 kB / 0.4964 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.5002, allocations: 120.8 kB / 0.4965 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.5027, allocations: 1.183 MB / 0.4976 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.5028, allocations: 10.73 kB / 0.4977 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.5029, allocations: 52.59 kB / 0.4977 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.503, allocations: 28.55 kB / 0.4977 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.5055, allocations: 1.441 MB / 0.4991 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008142/0.5137, allocations: 4.861 MB / 0.5039 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.5156, allocations: 1.194 MB / 0.505 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.5163, allocations: 375.5 kB / 0.5054 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.5164, allocations: 98.12 kB / 0.5055 GB, free: 31.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5165, allocations: 46.59 kB / 0.5055 GB, free: 31.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.276e-06/0.5165, allocations: 0 / 0.5055 GB, free: 31.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.002045/0.5185, allocations: 1.213 MB / 0.5067 GB, free: 30.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.5186, allocations: 66.06 kB / 0.5068 GB, free: 30.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.5195, allocations: 0.7918 MB / 0.5076 GB, free: 30.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.5196, allocations: 41.86 kB / 0.5076 GB, free: 30.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.5198, allocations: 477.1 kB / 0.5081 GB, free: 30.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.52, allocations: 315 kB / 0.5084 GB, free: 30.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.5201, allocations: 22.53 kB / 0.5084 GB, free: 30.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5202, allocations: 396 kB / 0.5088 GB, free: 29.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.5208, allocations: 350.7 kB / 0.5091 GB, free: 29.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000788/0.5216, allocations: 0.6091 MB / 0.5097 GB, free: 29.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.5223, allocations: 422 kB / 0.5101 GB, free: 29.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5223, allocations: 7.344 kB / 0.5101 GB, free: 29.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002121/0.5245, allocations: 1.181 MB / 0.5113 GB, free: 28.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.5245, allocations: 6.344 kB / 0.5113 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.5245, allocations: 9.438 kB / 0.5113 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.5249, allocations: 62.72 kB / 0.5113 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.5259, allocations: 261.1 kB / 0.5116 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.5276, allocations: 2.632 MB / 0.5141 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5288, allocations: 164.6 kB / 0.5143 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5289, allocations: 48.16 kB / 0.5143 GB, free: 25.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005916/0.5295, allocations: 249.5 kB / 0.5146 GB, free: 25.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.5297, allocations: 90.59 kB / 0.5147 GB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.5316, allocations: 1.113 MB / 0.5158 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5316, allocations: 17.78 kB / 0.5158 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5316, allocations: 0 / 0.5158 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5317, allocations: 6.844 kB / 0.5158 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.536, allocations: 2.736 MB / 0.5185 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.536, allocations: 6.375 kB / 0.5185 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.5367, allocations: 181.2 kB / 0.5186 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.537, allocations: 61.25 kB / 0.5187 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.5371, allocations: 31.88 kB / 0.5187 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.5387, allocations: 2.622 MB / 0.5213 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.5387, allocations: 12.97 kB / 0.5213 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.5408, allocations: 1.48 MB / 0.5227 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.5411, allocations: 221.5 kB / 0.523 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5413, allocations: 27.62 kB / 0.523 GB, free: 19.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.542, allocations: 53.61 kB / 0.523 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5421, allocations: 84.92 kB / 0.5231 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.5422, allocations: 33.06 kB / 0.5231 GB, free: 19.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006526/0.5429, allocations: 0.5538 MB / 0.5237 GB, free: 19.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5429, allocations: 0 / 0.5237 GB, free: 19.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001024/0.5439, allocations: 292.8 kB / 0.524 GB, free: 19.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/0.5442, allocations: 174.3 kB / 0.5241 GB, free: 19.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.546, allocations: 1.092 MB / 0.5252 GB, free: 18.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.546, allocations: 7.344 kB / 0.5252 GB, free: 18.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008524/0.5468, allocations: 0.6272 MB / 0.5258 GB, free: 18.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.5477, allocations: 126.2 kB / 0.5259 GB, free: 18.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.5509, allocations: 2.187 MB / 0.5281 GB, free: 16.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.5514, allocations: 1.001 MB / 0.529 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.5517, allocations: 94.31 kB / 0.5291 GB, free: 16.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5517, allocations: 0 / 0.5291 GB, free: 16.03 MB / 378.7 MB Notification: Performance of Templates: time 0.02863/0.5803, allocations: 20.17 MB / 0.5488 GB, free: 9.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches