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.001424/0.001424, allocations: 115.4 kB / 17.08 MB, free: 5.996 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.001209/0.001209, allocations: 194.4 kB / 18.01 MB, free: 5.082 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.422/1.422, 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.2094/0.2094, allocations: 43.52 MB / 314.8 MB, free: 464 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.001475/0.001475, allocations: 67.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1011, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01896/0.1201, allocations: 19.89 MB / 0.508 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009974/0.1301, allocations: 4.943 MB / 0.5128 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004708/0.1348, allocations: 135.6 kB / 0.5129 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01628/0.1512, allocations: 7.787 MB / 0.5205 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.159, allocations: 2.289 MB / 0.5228 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.1629, allocations: 1.267 MB / 0.524 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2646/0.4275, allocations: 12.36 MB / 0.5361 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03728/0.4649, allocations: 26.15 MB / 0.5616 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009493/0.4744, allocations: 6.615 MB / 0.5681 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.4866, allocations: 7.328 MB / 0.5752 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00481/0.4914, allocations: 1.734 MB / 0.5769 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.4976, allocations: 1.926 MB / 0.5788 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007981/0.5056, allocations: 4.022 MB / 0.5827 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01304/0.5187, allocations: 7.157 MB / 0.5897 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02484/0.5436, allocations: 23.68 MB / 0.6128 GB, free: 3.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5436, allocations: 0 / 0.6128 GB, free: 3.797 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5436, allocations: 4 kB / 0.6128 GB, free: 3.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000687/0.5443, allocations: 0 / 0.6128 GB, free: 3.793 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.04147/0.5858, allocations: 14.81 MB / 0.6273 GB, free: 5.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5859, allocations: 15.89 kB / 0.6273 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06372/0.6496, allocations: 12.41 MB / 0.6394 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.6645, allocations: 6.612 MB / 0.6459 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008996/0.6655, allocations: 0.9013 MB / 0.6468 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004907/0.6704, allocations: 1.189 MB / 0.6479 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04529/0.7157, allocations: 19.04 MB / 0.6665 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004141/0.7161, allocations: 23.8 kB / 0.6666 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003605/0.7197, allocations: 0.4994 MB / 0.6671 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000652/0.7204, allocations: 0.6934 MB / 0.6677 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03814/0.7586, allocations: 19.82 MB / 0.6871 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/0.8733, allocations: 61.52 MB / 0.7472 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4487/1.322, allocations: 20.17 MB / 0.7669 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008531/1.331, allocations: 4.633 MB / 0.7714 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/1.331, allocations: 242.5 kB / 0.7716 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/1.331, allocations: 110.6 kB / 0.7717 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 9.197e-06/1.331, allocations: 0 / 0.7717 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02407/1.356, allocations: 12.54 MB / 0.784 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/1.356, allocations: 124 kB / 0.7841 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.37, allocations: 8.722 MB / 0.7926 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/1.371, allocations: 141.1 kB / 0.7927 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.374, allocations: 4.61 MB / 0.7972 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003177/1.377, allocations: 2.257 MB / 0.7994 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002661/1.38, allocations: 1.505 MB / 0.8009 GB, free: 158.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/1.38, allocations: 306.7 kB / 0.8012 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005825/1.386, allocations: 4.195 MB / 0.8053 GB, free: 157 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006693/1.392, allocations: 7.23 MB / 0.8124 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.405, allocations: 12.4 MB / 0.8245 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.405, allocations: 27.28 kB / 0.8245 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01913/1.424, allocations: 12.4 MB / 0.8366 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.425, allocations: 48.94 kB / 0.8366 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.425, allocations: 100 kB / 0.8367 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.426, allocations: 425.5 kB / 0.8371 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006738/1.432, allocations: 2.096 MB / 0.8392 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/1.438, allocations: 9.606 MB / 0.8486 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007891/1.446, allocations: 1.406 MB / 0.85 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.447, allocations: 397.5 kB / 0.8503 GB, free: 124.9 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.008381/1.455, allocations: 4.657 MB / 0.8549 GB, free: 121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/1.457, allocations: 0.7098 MB / 0.8556 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.475, allocations: 11.05 MB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/1.475, allocations: 68 kB / 0.8664 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/1.475, allocations: 0 / 0.8664 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.882e-05/1.475, allocations: 39.86 kB / 0.8665 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4274/1.903, allocations: 159 MB / 1.022 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002609/1.903, allocations: 85.81 kB / 1.022 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006078/1.909, allocations: 1.573 MB / 1.023 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009576/1.91, allocations: 388.6 kB / 1.024 GB, free: 173 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00132/1.911, allocations: 253.1 kB / 1.024 GB, free: 173 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/1.917, allocations: 9.468 MB / 1.033 GB, free: 164.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.889e-05/1.917, allocations: 137.4 kB / 1.033 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02462/1.942, allocations: 18.85 MB / 1.052 GB, free: 153.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005242/1.947, allocations: 2.036 MB / 1.054 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002903/1.95, allocations: 253.3 kB / 1.054 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006931/1.957, allocations: 0.5602 MB / 1.055 GB, free: 152.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002049/1.959, allocations: 0.7444 MB / 1.055 GB, free: 151.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/1.96, allocations: 317.8 kB / 1.056 GB, free: 151.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0118/1.972, allocations: 6.126 MB / 1.062 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.21e-07/1.972, allocations: 4 kB / 1.062 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01202/1.984, allocations: 2.675 MB / 1.064 GB, free: 146.9 MB / 0.6075 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.002143/1.986, allocations: 497.7 kB / 1.065 GB, free: 146.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01501/2.001, allocations: 10.84 MB / 1.075 GB, free: 137.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.699e-05/2.001, allocations: 16.12 kB / 1.075 GB, free: 137.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008459/2.01, allocations: 5.504 MB / 1.081 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/2.025, allocations: 1.511 MB / 1.082 GB, free: 130.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/2.068, allocations: 24.73 MB / 1.106 GB, free: 104.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007994/2.076, allocations: 7.635 MB / 1.114 GB, free: 97.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00309/2.079, allocations: 0.6439 MB / 1.114 GB, free: 96.54 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/2.079, allocations: 0 / 1.114 GB, free: 96.54 MB / 0.6075 GB Notification: Performance of Templates: time 1.082/3.161, allocations: 0.5439 GB / 1.658 GB, free: 41.64 MB / 0.6388 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