Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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 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 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 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.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001313, allocations: 106 kB / 17.03 MB, free: 5.66 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.001394/0.001394, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2365/0.2365, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 71.7 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02034/0.1515, allocations: 19.89 MB / 461.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.1643, allocations: 4.943 MB / 466.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00538/0.1697, allocations: 135.6 kB / 466.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0193/0.1891, allocations: 7.777 MB / 474.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009554/0.1987, allocations: 2.287 MB / 477 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00492/0.2036, allocations: 1.279 MB / 478.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0184/0.222, allocations: 12.37 MB / 490.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03922/0.2613, allocations: 26.09 MB / 0.5046 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.2718, allocations: 6.588 MB / 0.5111 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01361/0.2855, allocations: 7.327 MB / 0.5182 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005945/0.2915, allocations: 1.734 MB / 0.5199 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008947/0.3004, allocations: 1.937 MB / 0.5218 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006914/0.3074, allocations: 3.713 MB / 0.5254 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2649/0.5723, allocations: 7.112 MB / 0.5324 GB, free: 40.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0254/0.5978, allocations: 23.67 MB / 0.5555 GB, free: 37.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5978, allocations: 1.812 kB / 0.5555 GB, free: 37.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5978, allocations: 0 / 0.5555 GB, free: 37.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009285/0.5988, allocations: 0 / 0.5555 GB, free: 37.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05765/0.6564, allocations: 14.8 MB / 0.5699 GB, free: 29.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.6565, allocations: 18.11 kB / 0.57 GB, free: 29.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06701/0.7235, allocations: 12.42 MB / 0.5821 GB, free: 24.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/0.7439, allocations: 6.613 MB / 0.5885 GB, free: 20.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008369/0.7448, allocations: 0.9082 MB / 0.5894 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006343/0.7512, allocations: 1.189 MB / 0.5906 GB, free: 18.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05593/0.8071, allocations: 19.05 MB / 0.6092 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005367/0.8077, allocations: 15.81 kB / 0.6092 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006184/0.8139, allocations: 0.4969 MB / 0.6097 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007972/0.8147, allocations: 0.6856 MB / 0.6104 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04963/0.8644, allocations: 19.83 MB / 0.6297 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1321/0.9965, allocations: 61.52 MB / 0.6898 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02398/1.021, allocations: 20.18 MB / 0.7095 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/1.028, allocations: 4.623 MB / 0.714 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005647/1.029, allocations: 242.5 kB / 0.7143 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.77e-05/1.029, allocations: 111.3 kB / 0.7144 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=674): time 7.814e-06/1.029, allocations: 0 / 0.7144 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=674): time 0.02101/1.05, allocations: 12.54 MB / 0.7266 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.05, allocations: 123.9 kB / 0.7267 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2489/1.299, allocations: 8.718 MB / 0.7352 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/1.3, allocations: 136.1 kB / 0.7354 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004134/1.304, allocations: 4.603 MB / 0.7399 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002786/1.307, allocations: 2.258 MB / 0.7421 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/1.31, allocations: 1.509 MB / 0.7435 GB, free: 178 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/1.31, allocations: 310.7 kB / 0.7438 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005635/1.315, allocations: 4.19 MB / 0.7479 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007295/1.323, allocations: 7.231 MB / 0.755 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.336, allocations: 12.39 MB / 0.7671 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-05/1.336, allocations: 30.34 kB / 0.7671 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02003/1.356, allocations: 12.4 MB / 0.7792 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/1.356, allocations: 48 kB / 0.7793 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.357, allocations: 104.1 kB / 0.7794 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009969/1.358, allocations: 421.8 kB / 0.7798 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007361/1.365, allocations: 2.096 MB / 0.7818 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006032/1.371, allocations: 9.606 MB / 0.7912 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008493/1.379, allocations: 1.402 MB / 0.7926 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/1.381, allocations: 395.8 kB / 0.793 GB, free: 145.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.01029/1.391, allocations: 4.66 MB / 0.7975 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.394, allocations: 0.7212 MB / 0.7982 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/1.411, allocations: 11.04 MB / 0.809 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.617e-05/1.411, allocations: 72 kB / 0.8091 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.411, allocations: 4 kB / 0.8091 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/1.411, allocations: 36.42 kB / 0.8091 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.443/1.854, allocations: 159 MB / 0.9644 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-05/1.854, allocations: 85.53 kB / 0.9645 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005039/1.859, allocations: 1.574 MB / 0.966 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/1.86, allocations: 383.7 kB / 0.9664 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005201/1.861, allocations: 255.3 kB / 0.9666 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/1.866, allocations: 9.459 MB / 0.9759 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/1.866, allocations: 135.2 kB / 0.976 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.887, allocations: 18.85 MB / 0.9944 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006414/1.893, allocations: 2.048 MB / 0.9964 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002278/1.896, allocations: 245.7 kB / 0.9967 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006156/1.902, allocations: 0.5674 MB / 0.9972 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.903, allocations: 0.7375 MB / 0.9979 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005719/1.904, allocations: 317.1 kB / 0.9982 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01014/1.914, allocations: 6.123 MB / 1.004 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/1.914, allocations: 0 / 1.004 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01215/1.926, allocations: 2.675 MB / 1.007 GB, free: 124.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.001977/1.928, allocations: 0.4967 MB / 1.007 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01668/1.945, allocations: 10.83 MB / 1.018 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.977e-05/1.945, allocations: 12 kB / 1.018 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00858/1.953, allocations: 5.513 MB / 1.023 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01332/1.967, allocations: 1.513 MB / 1.025 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/2.011, allocations: 25.13 MB / 1.049 GB, free: 80.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/2.021, allocations: 7.886 MB / 1.057 GB, free: 72.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01039/2.031, allocations: 3.649 MB / 1.061 GB, free: 68.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/2.035, allocations: 0.5931 MB / 1.061 GB, free: 68.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/2.035, allocations: 0 / 1.061 GB, free: 68.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.4096/2.444, allocations: 94.62 MB / 1.154 GB, free: 167 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches