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.001255/0.001255, allocations: 170.6 kB / 16.72 MB, free: 5.055 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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007388/0.0007389, allocations: 89.36 kB / 271.2 MB, free: 8.254 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.2894/0.2894, allocations: 43.55 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006131/0.1265, allocations: 5.978 MB / 496.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.1298, allocations: 2.02 MB / 498.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.1303, allocations: 20 kB / 498.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.1308, allocations: 238.6 kB / 499.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.1324, allocations: 0.7311 MB / 499.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.1333, allocations: 479 kB / 0.4886 GB, free: 1.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009633/0.1343, allocations: 1.081 MB / 0.4896 GB, free: 316 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1993/0.3336, allocations: 1.358 MB / 0.4909 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.3342, allocations: 407.9 kB / 0.4913 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.3348, allocations: 0.5208 MB / 0.4918 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3349, allocations: 48.62 kB / 0.4919 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006788/0.3356, allocations: 227.5 kB / 0.4921 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.3358, allocations: 191.5 kB / 0.4923 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.3364, allocations: 0.5105 MB / 0.4928 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3377, allocations: 1.105 MB / 0.4939 GB, free: 34.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3377, allocations: 0 / 0.4939 GB, free: 34.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3377, allocations: 0 / 0.4939 GB, free: 34.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.3377, allocations: 1 kB / 0.4939 GB, free: 34.77 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.003622/0.3414, allocations: 1.492 MB / 0.4953 GB, free: 34.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3414, allocations: 9.438 kB / 0.4953 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009305/0.3507, allocations: 1.437 MB / 0.4967 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.3516, allocations: 0.5358 MB / 0.4973 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/0.3517, allocations: 96.8 kB / 0.4973 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.3519, allocations: 129 kB / 0.4975 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.354, allocations: 1.179 MB / 0.4986 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.3541, allocations: 0 / 0.4986 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.3542, allocations: 51.5 kB / 0.4987 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.3542, allocations: 30.25 kB / 0.4987 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3564, allocations: 1.444 MB / 0.5001 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006627/0.363, allocations: 4.865 MB / 0.5049 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.3649, allocations: 1.2 MB / 0.506 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.3654, allocations: 378.6 kB / 0.5064 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.254e-05/0.3655, allocations: 100.1 kB / 0.5065 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3656, allocations: 44.91 kB / 0.5065 GB, free: 31.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.765e-06/0.3656, allocations: 0 / 0.5065 GB, free: 31.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.001895/0.3675, allocations: 1.209 MB / 0.5077 GB, free: 30.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.3675, allocations: 62.28 kB / 0.5078 GB, free: 30.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.3683, allocations: 0.7937 MB / 0.5085 GB, free: 30.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.3684, allocations: 38.95 kB / 0.5086 GB, free: 30.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3686, allocations: 485.2 kB / 0.509 GB, free: 30.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.3688, allocations: 310.3 kB / 0.5093 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.3689, allocations: 20.84 kB / 0.5094 GB, free: 30.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.369, allocations: 408.9 kB / 0.5098 GB, free: 29.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.3695, allocations: 345.8 kB / 0.5101 GB, free: 29.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.3701, allocations: 0.6033 MB / 0.5107 GB, free: 29.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3713, allocations: 0.9817 MB / 0.5116 GB, free: 28.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3713, allocations: 3.062 kB / 0.5116 GB, free: 28.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001648/0.3729, allocations: 1.17 MB / 0.5128 GB, free: 28.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.373, allocations: 11.53 kB / 0.5128 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.373, allocations: 10.53 kB / 0.5128 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.3733, allocations: 70.59 kB / 0.5129 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.3742, allocations: 257.8 kB / 0.5131 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.3755, allocations: 2.638 MB / 0.5157 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.3763, allocations: 154.7 kB / 0.5158 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.3764, allocations: 46.5 kB / 0.5159 GB, free: 25.35 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.0003416/0.3768, allocations: 263.5 kB / 0.5161 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3769, allocations: 89.31 kB / 0.5162 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3784, allocations: 1.111 MB / 0.5173 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3785, allocations: 9.656 kB / 0.5173 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3785, allocations: 0 / 0.5173 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3785, allocations: 3.422 kB / 0.5173 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.3815, allocations: 2.731 MB / 0.52 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3815, allocations: 6.906 kB / 0.52 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.3822, allocations: 191.2 kB / 0.5202 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.3824, allocations: 61.56 kB / 0.5202 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.3824, allocations: 24.38 kB / 0.5203 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3837, allocations: 2.625 MB / 0.5228 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3837, allocations: 12.2 kB / 0.5228 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.3855, allocations: 1.488 MB / 0.5243 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.3858, allocations: 210.6 kB / 0.5245 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3859, allocations: 24.95 kB / 0.5245 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.3865, allocations: 65.86 kB / 0.5246 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3866, allocations: 83.59 kB / 0.5246 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.3867, allocations: 31.06 kB / 0.5247 GB, free: 19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006083/0.3873, allocations: 0.5574 MB / 0.5252 GB, free: 18.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3873, allocations: 0 / 0.5252 GB, free: 18.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009276/0.3882, allocations: 293.2 kB / 0.5255 GB, free: 18.69 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.0002911/0.3885, allocations: 169.3 kB / 0.5257 GB, free: 18.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.3901, allocations: 1.095 MB / 0.5267 GB, free: 18.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3901, allocations: 1.938 kB / 0.5267 GB, free: 18.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.391, allocations: 0.629 MB / 0.5273 GB, free: 17.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.3922, allocations: 123 kB / 0.5275 GB, free: 17.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.3949, allocations: 2.202 MB / 0.5296 GB, free: 16.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3953, allocations: 0.9977 MB / 0.5306 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.3956, allocations: 90.06 kB / 0.5307 GB, free: 15.47 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3956, allocations: 0 / 0.5307 GB, free: 15.47 MB / 378.7 MB Notification: Performance of Templates: time 0.0256/0.4212, allocations: 20.15 MB / 0.5504 GB, free: 8.895 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