Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 117.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 204.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4795, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02471/0.5043, allocations: 19.75 MB / 0.5503 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.5198, allocations: 4.981 MB / 0.5551 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006588/0.5264, allocations: 163.5 kB / 0.5553 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01785/0.5443, allocations: 7.759 MB / 0.5629 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.555, allocations: 2.055 MB / 0.5649 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005322/0.5604, allocations: 1.398 MB / 0.5662 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01934/0.5797, allocations: 12.19 MB / 0.5781 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04092/0.6207, allocations: 26.06 MB / 0.6036 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01457/0.6353, allocations: 6.526 MB / 0.61 GB, free: 480 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01807/0.6534, allocations: 7.206 MB / 0.617 GB, free: 9.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008433/0.6619, allocations: 1.719 MB / 0.6187 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.6738, allocations: 1.922 MB / 0.6206 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01097/0.6849, allocations: 3.655 MB / 0.6241 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02098/0.7059, allocations: 7.003 MB / 0.631 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03508/0.7411, allocations: 23.62 MB / 0.654 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.7411, allocations: 0 / 0.654 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7411, allocations: 0 / 0.654 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008126/0.7419, allocations: 0 / 0.654 GB, free: 3.219 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.0513/0.7932, allocations: 14.57 MB / 0.6683 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7933, allocations: 12.03 kB / 0.6683 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05975/0.8531, allocations: 11.43 MB / 0.6794 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/0.8725, allocations: 7.326 MB / 0.6866 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001133/0.8736, allocations: 0.8832 MB / 0.6875 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006142/0.8798, allocations: 1.172 MB / 0.6886 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05042/0.9302, allocations: 18.56 MB / 0.7067 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/0.9307, allocations: 19.75 kB / 0.7067 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003974/0.9346, allocations: 496 kB / 0.7072 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006729/0.9353, allocations: 0.6577 MB / 0.7079 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8178/1.753, allocations: 19.08 MB / 0.7265 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1154/1.869, allocations: 60.2 MB / 0.7853 GB, free: 99.74 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/1.887, allocations: 16.61 MB / 0.8015 GB, free: 82.31 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/1.893, allocations: 4.528 MB / 0.8059 GB, free: 77.76 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/1.894, allocations: 323.5 kB / 0.8062 GB, free: 77.43 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.735e-05/1.894, allocations: 107.7 kB / 0.8063 GB, free: 77.32 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.504e-06/1.894, allocations: 0 / 0.8063 GB, free: 77.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.0168/1.911, allocations: 12.35 MB / 0.8184 GB, free: 64.76 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/1.911, allocations: 124.5 kB / 0.8185 GB, free: 64.62 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/1.924, allocations: 8.603 MB / 0.8269 GB, free: 56.04 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001611/1.926, allocations: 133.7 kB / 0.827 GB, free: 55.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002979/1.929, allocations: 4.489 MB / 0.8314 GB, free: 51.39 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002847/1.932, allocations: 2.188 MB / 0.8336 GB, free: 49.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002857/1.935, allocations: 1.435 MB / 0.835 GB, free: 47.76 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.935, allocations: 305.1 kB / 0.8353 GB, free: 47.46 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007219/1.942, allocations: 4.106 MB / 0.8393 GB, free: 43.35 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008376/1.95, allocations: 6.906 MB / 0.846 GB, free: 35.18 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/1.965, allocations: 11.94 MB / 0.8577 GB, free: 21.89 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.965, allocations: 27.94 kB / 0.8577 GB, free: 21.86 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02419/1.989, allocations: 12 MB / 0.8694 GB, free: 9.746 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.989, allocations: 44 kB / 0.8695 GB, free: 9.703 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/1.989, allocations: 92 kB / 0.8695 GB, free: 9.613 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.991, allocations: 412.8 kB / 0.8699 GB, free: 9.191 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007566/1.998, allocations: 2.001 MB / 0.8719 GB, free: 7.188 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/2.005, allocations: 9.594 MB / 0.8813 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009235/2.014, allocations: 1.35 MB / 0.8826 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/2.017, allocations: 380 kB / 0.8829 GB, free: 11.02 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * 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.01335/2.03, allocations: 4.578 MB / 0.8874 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00306/2.033, allocations: 0.6982 MB / 0.8881 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/2.058, allocations: 10.6 MB / 0.8984 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-05/2.058, allocations: 68 kB / 0.8985 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/2.058, allocations: 3.938 kB / 0.8985 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.058, allocations: 31.88 kB / 0.8985 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6054/2.663, allocations: 161.3 MB / 1.056 GB, free: 162.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005336/2.664, allocations: 84 kB / 1.056 GB, free: 162.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00645/2.67, allocations: 1.544 MB / 1.058 GB, free: 161.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/2.671, allocations: 384.2 kB / 1.058 GB, free: 160.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001576/2.673, allocations: 244 kB / 1.058 GB, free: 160.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/2.679, allocations: 9.456 MB / 1.068 GB, free: 150.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/2.679, allocations: 135.4 kB / 1.068 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02557/2.704, allocations: 18.53 MB / 1.086 GB, free: 130 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00733/2.712, allocations: 2.016 MB / 1.088 GB, free: 128.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003209/2.715, allocations: 243.9 kB / 1.088 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007491/2.722, allocations: 0.5541 MB / 1.088 GB, free: 127.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00211/2.724, allocations: 0.7301 MB / 1.089 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00136/2.726, allocations: 308 kB / 1.089 GB, free: 126.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01073/2.737, allocations: 6.047 MB / 1.095 GB, free: 120.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/2.737, allocations: 4 kB / 1.095 GB, free: 120.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01324/2.75, allocations: 2.621 MB / 1.098 GB, free: 117.7 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * 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 (721): * Single equations (assignments): 715 * 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.002372/2.752, allocations: 494.7 kB / 1.098 GB, free: 117.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01764/2.77, allocations: 10.6 MB / 1.109 GB, free: 106.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001286/2.77, allocations: 12 kB / 1.109 GB, free: 106.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009203/2.779, allocations: 5.435 MB / 1.114 GB, free: 101 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01518/2.795, allocations: 1.498 MB / 1.116 GB, free: 99.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04424/2.839, allocations: 24.63 MB / 1.14 GB, free: 73.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01874/2.858, allocations: 7.772 MB / 1.147 GB, free: 65.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.01149/2.869, allocations: 3.566 MB / 1.151 GB, free: 62.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003606/2.873, allocations: 0.5873 MB / 1.151 GB, free: 61.74 MB / 0.6544 GB Notification: Performance of SimCode: time 1.272e-06/2.873, allocations: 0 / 1.151 GB, free: 61.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.4895/3.362, allocations: 97.76 MB / 1.247 GB, free: 214.2 MB / 0.67 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches