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.002267/0.002271, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001198/0.001197, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3005/0.3005, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009734/0.1305, allocations: 5.544 MB / 495.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.1366, allocations: 2.059 MB / 497.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1377, allocations: 24 kB / 497.9 MB, free: 1.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.139, allocations: 242.5 kB / 498.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.1427, allocations: 0.7868 MB / 498.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.145, allocations: 486.9 kB / 499.4 MB, free: 176 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.1474, allocations: 0.8113 MB / 0.4884 GB, free: 15.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004072/0.1516, allocations: 1.245 MB / 0.4897 GB, free: 14.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1528, allocations: 406.4 kB / 0.49 GB, free: 13.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.154, allocations: 0.5057 MB / 0.4905 GB, free: 13.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.1543, allocations: 48 kB / 0.4906 GB, free: 13.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1554, allocations: 207.8 kB / 0.4908 GB, free: 12.92 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.1556, allocations: 187.2 kB / 0.491 GB, free: 12.74 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.156, allocations: 217.1 kB / 0.4912 GB, free: 12.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.1583, allocations: 1.095 MB / 0.4922 GB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1584, allocations: 0 / 0.4922 GB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1584, allocations: 0 / 0.4922 GB, free: 11.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.1584, allocations: 0 / 0.4922 GB, free: 11.42 MB / 346.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.006165/0.1646, allocations: 1.483 MB / 0.4937 GB, free: 9.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1647, allocations: 11.97 kB / 0.4937 GB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.1804, allocations: 1.442 MB / 0.4951 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1819, allocations: 0.5324 MB / 0.4956 GB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1821, allocations: 90.48 kB / 0.4957 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.1825, allocations: 123.9 kB / 0.4958 GB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.1866, allocations: 1.169 MB / 0.497 GB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.1867, allocations: 0 / 0.497 GB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.1869, allocations: 56 kB / 0.497 GB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.187, allocations: 32 kB / 0.4971 GB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004604/0.1916, allocations: 1.435 MB / 0.4985 GB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.2059, allocations: 4.874 MB / 0.5032 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.2094, allocations: 1.198 MB / 0.5044 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.2097, allocations: 102.1 kB / 0.5045 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.2097, allocations: 43.56 kB / 0.5045 GB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/0.2098, allocations: 0 / 0.5045 GB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.003993/0.2138, allocations: 1.208 MB / 0.5057 GB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.2139, allocations: 64.41 kB / 0.5058 GB, free: 12.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.2156, allocations: 0.7894 MB / 0.5065 GB, free: 12.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.2158, allocations: 41.7 kB / 0.5066 GB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/0.2162, allocations: 0.4933 MB / 0.5071 GB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.2167, allocations: 311.4 kB / 0.5074 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2168, allocations: 24 kB / 0.5074 GB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.217, allocations: 354.7 kB / 0.5077 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.2182, allocations: 346.5 kB / 0.508 GB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.2197, allocations: 0.6023 MB / 0.5086 GB, free: 9.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.2212, allocations: 434.8 kB / 0.5091 GB, free: 9.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.2212, allocations: 0 / 0.5091 GB, free: 9.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003684/0.2249, allocations: 1.128 MB / 0.5102 GB, free: 8.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.225, allocations: 8 kB / 0.5102 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.225, allocations: 8 kB / 0.5102 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.2255, allocations: 73.75 kB / 0.5102 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.2276, allocations: 267.6 kB / 0.5105 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.2308, allocations: 2.643 MB / 0.5131 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.2325, allocations: 154.2 kB / 0.5132 GB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.2328, allocations: 48 kB / 0.5133 GB, free: 4.863 MB / 362.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.0006648/0.2334, allocations: 253.5 kB / 0.5135 GB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.2337, allocations: 86.97 kB / 0.5136 GB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.237, allocations: 1.122 MB / 0.5147 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.2371, allocations: 8 kB / 0.5147 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.2371, allocations: 7.953 kB / 0.5147 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.2371, allocations: 3.984 kB / 0.5147 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/0.2437, allocations: 2.734 MB / 0.5174 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.2438, allocations: 4 kB / 0.5174 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.2453, allocations: 180.6 kB / 0.5176 GB, free: 196 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003917/0.2457, allocations: 65.62 kB / 0.5176 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2459, allocations: 31.98 kB / 0.5176 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3078/0.5537, allocations: 2.624 MB / 0.5202 GB, free: 39.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.5537, allocations: 7.625 kB / 0.5202 GB, free: 39.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/0.5578, allocations: 1.778 MB / 0.522 GB, free: 39.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.5582, allocations: 213.2 kB / 0.5222 GB, free: 38.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.5584, allocations: 23.92 kB / 0.5222 GB, free: 38.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.5596, allocations: 60.58 kB / 0.5222 GB, free: 38.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.5599, allocations: 84.42 kB / 0.5223 GB, free: 38.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.38e-05/0.56, allocations: 34.64 kB / 0.5223 GB, free: 38.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.5611, allocations: 0.5551 MB / 0.5229 GB, free: 38.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.5611, allocations: 0 / 0.5229 GB, free: 38.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001431/0.5625, allocations: 296.9 kB / 0.5232 GB, free: 38.8 MB / 362.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.0003546/0.5629, allocations: 169.9 kB / 0.5233 GB, free: 38.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.566, allocations: 1.088 MB / 0.5244 GB, free: 38.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.566, allocations: 1.5 kB / 0.5244 GB, free: 38.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.5676, allocations: 0.631 MB / 0.525 GB, free: 37.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.5686, allocations: 112.7 kB / 0.5251 GB, free: 37.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.5733, allocations: 2.174 MB / 0.5272 GB, free: 36.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.5741, allocations: 1.02 MB / 0.5282 GB, free: 35.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000701/0.5748, allocations: 90.75 kB / 0.5283 GB, free: 35.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5748, allocations: 4 kB / 0.5283 GB, free: 35.6 MB / 362.7 MB Notification: Performance of Templates: time 0.03994/0.6148, allocations: 19.38 MB / 0.5473 GB, free: 27.46 MB / 362.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/jenkins1/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