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.001017/0.001017, allocations: 111.9 kB / 17.09 MB, free: 5.988 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.0009462/0.0009462, allocations: 198.1 kB / 18.02 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.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1995/0.1995, allocations: 43.53 MB / 314.8 MB, free: 452 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.001461/0.001461, allocations: 68.42 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1115, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01959/0.1312, allocations: 19.9 MB / 0.508 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.1436, allocations: 4.931 MB / 0.5128 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.1483, allocations: 135.6 kB / 0.5129 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01721/0.1656, allocations: 7.787 MB / 0.5205 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.1734, allocations: 2.285 MB / 0.5228 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.1773, allocations: 1.275 MB / 0.524 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.248/0.4253, allocations: 12.36 MB / 0.5361 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03728/0.4626, allocations: 26.15 MB / 0.5616 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009684/0.4723, allocations: 6.615 MB / 0.5681 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01208/0.4844, allocations: 7.333 MB / 0.5752 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004847/0.4893, allocations: 1.738 MB / 0.5769 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006499/0.4958, allocations: 1.925 MB / 0.5788 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008161/0.504, allocations: 4.037 MB / 0.5828 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01513/0.5192, allocations: 7.153 MB / 0.5897 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02394/0.5432, allocations: 23.68 MB / 0.6129 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5432, allocations: 0 / 0.6129 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5432, allocations: 0 / 0.6129 GB, free: 3.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005426/0.5438, allocations: 0 / 0.6129 GB, free: 3.805 MB / 462.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.04266/0.5864, allocations: 14.8 MB / 0.6273 GB, free: 5.035 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.5865, allocations: 15.89 kB / 0.6273 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0644/0.6509, allocations: 12.43 MB / 0.6395 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.6659, allocations: 6.617 MB / 0.6459 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/0.667, allocations: 0.9052 MB / 0.6468 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005261/0.6723, allocations: 1.183 MB / 0.648 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04554/0.7178, allocations: 19.05 MB / 0.6666 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003894/0.7183, allocations: 23.8 kB / 0.6666 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003612/0.7219, allocations: 0.4937 MB / 0.6671 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000701/0.7226, allocations: 0.6856 MB / 0.6677 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03847/0.7611, allocations: 19.83 MB / 0.6871 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/0.8711, allocations: 61.52 MB / 0.7472 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.508/1.379, allocations: 20.17 MB / 0.7669 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008729/1.388, allocations: 4.63 MB / 0.7714 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/1.388, allocations: 236.9 kB / 0.7716 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/1.389, allocations: 119.6 kB / 0.7717 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 8.716e-06/1.389, allocations: 0.6875 kB / 0.7717 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02083/1.409, allocations: 12.54 MB / 0.784 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/1.409, allocations: 122.6 kB / 0.7841 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.422, allocations: 8.723 MB / 0.7926 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007917/1.423, allocations: 133 kB / 0.7928 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002473/1.425, allocations: 4.602 MB / 0.7973 GB, free: 161 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/1.427, allocations: 2.258 MB / 0.7995 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001855/1.429, allocations: 1.514 MB / 0.8009 GB, free: 158.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/1.429, allocations: 310.5 kB / 0.8012 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/1.434, allocations: 4.192 MB / 0.8053 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006184/1.44, allocations: 7.232 MB / 0.8124 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/1.452, allocations: 12.4 MB / 0.8245 GB, free: 144 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.477e-05/1.452, allocations: 26.5 kB / 0.8245 GB, free: 144 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01497/1.467, allocations: 12.4 MB / 0.8366 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/1.467, allocations: 48 kB / 0.8367 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.955e-05/1.467, allocations: 100 kB / 0.8368 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008529/1.468, allocations: 418.1 kB / 0.8372 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006028/1.474, allocations: 2.095 MB / 0.8392 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/1.479, allocations: 9.613 MB / 0.8486 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006001/1.485, allocations: 1.393 MB / 0.85 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005901/1.486, allocations: 399.5 kB / 0.8503 GB, free: 125 MB / 0.5919 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.006447/1.492, allocations: 4.657 MB / 0.8549 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.494, allocations: 0.7175 MB / 0.8556 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.509, allocations: 11.05 MB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.509, allocations: 35.44 kB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.509, allocations: 3.844 kB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003853/1.513, allocations: 1.896 MB / 0.8683 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/1.515, allocations: 116 kB / 0.8684 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003974/1.519, allocations: 0.4994 MB / 0.8689 GB, free: 106.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007776/1.519, allocations: 409.1 kB / 0.8693 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01379/1.533, allocations: 9.19 MB / 0.8782 GB, free: 97.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01581/1.549, allocations: 14.22 MB / 0.8921 GB, free: 82.76 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004154/1.553, allocations: 3.987 MB / 0.896 GB, free: 78.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009677/1.563, allocations: 6.117 MB / 0.902 GB, free: 72.66 MB / 0.5919 GB Notification: Performance of Backend: time 4.01e-07/1.563, allocations: 0 / 0.902 GB, free: 72.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0127/1.576, allocations: 7.189 MB / 0.909 GB, free: 65.43 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03377/1.609, allocations: 19.93 MB / 0.9285 GB, free: 45.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.4141/2.024, allocations: 115.5 MB / 1.041 GB, free: 173.7 MB / 0.6075 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 -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