Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001155, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001092/0.001092, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.19 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.28 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 60.83 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008106/0.1207, allocations: 6.92 MB / 476.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.1248, allocations: 2.202 MB / 479.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.1253, allocations: 23.94 kB / 479.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.1286, allocations: 1.523 MB / 480.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1305, allocations: 0.8421 MB / 481.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1317, allocations: 0.5629 MB / 482 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1328, allocations: 1.155 MB / 483.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1339, allocations: 0.8161 MB / 484 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.1345, allocations: 470.1 kB / 484.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.1351, allocations: 0.603 MB / 485 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.1353, allocations: 96 kB / 485.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.1359, allocations: 279.8 kB / 485.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.1361, allocations: 247 kB / 485.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.1365, allocations: 0.5558 MB / 486.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1379, allocations: 1.436 MB / 487.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1379, allocations: 0 / 487.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1379, allocations: 0 / 487.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.1379, allocations: 0 / 487.6 MB, free: 12.61 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00392/0.1419, allocations: 1.686 MB / 489.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1419, allocations: 8.031 kB / 489.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009586/0.1515, allocations: 1.322 MB / 490.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1526, allocations: 0.5257 MB / 491.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.1527, allocations: 94.34 kB / 491.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1529, allocations: 119.9 kB / 491.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.1551, allocations: 1.145 MB / 492.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.1551, allocations: 7.984 kB / 492.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.1553, allocations: 44 kB / 492.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.1553, allocations: 32 kB / 492.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.1576, allocations: 1.372 MB / 494 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007705/0.1653, allocations: 4.678 MB / 498.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1671, allocations: 0.9302 MB / 499.6 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/0.1678, allocations: 363.7 kB / 499.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.1679, allocations: 106.1 kB / 0.4883 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.168, allocations: 43.56 kB / 0.4884 GB, free: 15.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.168, allocations: 0 / 0.4884 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.002282/0.1703, allocations: 1.187 MB / 0.4895 GB, free: 14.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1703, allocations: 64.39 kB / 0.4896 GB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.1713, allocations: 0.7893 MB / 0.4904 GB, free: 13.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.1714, allocations: 37.7 kB / 0.4904 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.1717, allocations: 459 kB / 0.4908 GB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.172, allocations: 307.5 kB / 0.4911 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.1723, allocations: 182.9 kB / 0.4913 GB, free: 12.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1724, allocations: 398.7 kB / 0.4917 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.1731, allocations: 334.5 kB / 0.492 GB, free: 11.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/0.1738, allocations: 0.5622 MB / 0.4926 GB, free: 11.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.1753, allocations: 0.9231 MB / 0.4935 GB, free: 10.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.1753, allocations: 7.938 kB / 0.4935 GB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002214/0.1776, allocations: 1.127 MB / 0.4946 GB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.1776, allocations: 8 kB / 0.4946 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1776, allocations: 4 kB / 0.4946 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.1779, allocations: 65.83 kB / 0.4946 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.179, allocations: 247.6 kB / 0.4949 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.1813, allocations: 2.832 MB / 0.4976 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.1824, allocations: 150.3 kB / 0.4978 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.1825, allocations: 43.94 kB / 0.4978 GB, free: 5.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004779/0.183, allocations: 249.7 kB / 0.4981 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.1832, allocations: 86.97 kB / 0.4981 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.1852, allocations: 1.091 MB / 0.4992 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.1852, allocations: 12 kB / 0.4992 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1852, allocations: 0 / 0.4992 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1852, allocations: 3.984 kB / 0.4992 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.1894, allocations: 2.695 MB / 0.5019 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.1895, allocations: 8 kB / 0.5019 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.1902, allocations: 179.7 kB / 0.502 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.1905, allocations: 62.19 kB / 0.5021 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/0.1906, allocations: 35.92 kB / 0.5021 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1777/0.3683, allocations: 2.813 MB / 0.5049 GB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.3684, allocations: 7.219 kB / 0.5049 GB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.3707, allocations: 1.461 MB / 0.5063 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.371, allocations: 200.3 kB / 0.5065 GB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3711, allocations: 25.58 kB / 0.5065 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/0.3718, allocations: 48.97 kB / 0.5066 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.372, allocations: 77.91 kB / 0.5066 GB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.3721, allocations: 34.97 kB / 0.5067 GB, free: 45.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007099/0.3728, allocations: 0.5524 MB / 0.5072 GB, free: 45.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3728, allocations: 3.75 kB / 0.5072 GB, free: 45.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009065/0.3737, allocations: 285.4 kB / 0.5075 GB, free: 45.09 MB / 382.1 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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/0.3739, allocations: 169.1 kB / 0.5077 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.376, allocations: 1.098 MB / 0.5087 GB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.376, allocations: 3.062 kB / 0.5087 GB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.3769, allocations: 0.6251 MB / 0.5093 GB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.3777, allocations: 117.7 kB / 0.5095 GB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3808, allocations: 1.814 MB / 0.5112 GB, free: 42.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.3816, allocations: 0.9886 MB / 0.5122 GB, free: 42.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.382, allocations: 87.91 kB / 0.5123 GB, free: 42.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.382, allocations: 0 / 0.5123 GB, free: 42.24 MB / 382.1 MB Notification: Performance of Templates: time 0.02158/0.4036, allocations: 19.86 MB / 0.5317 GB, free: 33.16 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches