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.001426/0.001426, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4011, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02085/0.422, allocations: 19.75 MB / 0.5509 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.4353, allocations: 4.974 MB / 0.5558 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006171/0.4416, allocations: 163.5 kB / 0.556 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01738/0.459, allocations: 7.793 MB / 0.5636 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009201/0.4682, allocations: 2.063 MB / 0.5656 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.473, allocations: 1.4 MB / 0.567 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01599/0.489, allocations: 12.19 MB / 0.5789 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04165/0.5307, allocations: 26.06 MB / 0.6043 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.5443, allocations: 6.534 MB / 0.6107 GB, free: 412 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01486/0.5592, allocations: 7.202 MB / 0.6177 GB, free: 9.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006065/0.5653, allocations: 1.723 MB / 0.6194 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007437/0.5728, allocations: 1.918 MB / 0.6213 GB, free: 5.535 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007704/0.5805, allocations: 3.655 MB / 0.6248 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0144/0.5949, allocations: 7.007 MB / 0.6317 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03036/0.6253, allocations: 23.62 MB / 0.6548 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6254, allocations: 0 / 0.6548 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6254, allocations: 0 / 0.6548 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008027/0.6262, allocations: 0 / 0.6548 GB, free: 3.152 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.04509/0.6713, allocations: 14.56 MB / 0.669 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6714, allocations: 8.031 kB / 0.669 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05993/0.7313, allocations: 11.43 MB / 0.6801 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/0.7475, allocations: 7.322 MB / 0.6873 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009165/0.7484, allocations: 0.8871 MB / 0.6882 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004794/0.7532, allocations: 1.172 MB / 0.6893 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04966/0.8029, allocations: 18.56 MB / 0.7074 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004724/0.8034, allocations: 19.8 kB / 0.7074 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00449/0.8079, allocations: 500 kB / 0.7079 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006717/0.8086, allocations: 0.6539 MB / 0.7086 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5712/1.38, allocations: 19.08 MB / 0.7272 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09197/1.472, allocations: 60.22 MB / 0.786 GB, free: 99.65 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/1.488, allocations: 16.6 MB / 0.8022 GB, free: 82.23 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005777/1.494, allocations: 4.524 MB / 0.8066 GB, free: 77.68 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/1.495, allocations: 321 kB / 0.8069 GB, free: 77.36 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.495, allocations: 99.69 kB / 0.807 GB, free: 77.25 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.788e-06/1.495, allocations: 4 kB / 0.807 GB, free: 77.24 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01572/1.511, allocations: 12.35 MB / 0.8191 GB, free: 64.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/1.511, allocations: 116.5 kB / 0.8192 GB, free: 64.55 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.522, allocations: 8.603 MB / 0.8276 GB, free: 55.96 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.523, allocations: 133.7 kB / 0.8277 GB, free: 55.82 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.525, allocations: 4.487 MB / 0.8321 GB, free: 51.32 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002153/1.528, allocations: 2.19 MB / 0.8343 GB, free: 49.14 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/1.53, allocations: 1.439 MB / 0.8357 GB, free: 47.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.785e-05/1.53, allocations: 301.1 kB / 0.836 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00503/1.535, allocations: 4.106 MB / 0.84 GB, free: 43.29 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006283/1.541, allocations: 6.909 MB / 0.8467 GB, free: 35.11 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/1.554, allocations: 11.94 MB / 0.8584 GB, free: 21.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-05/1.554, allocations: 24 kB / 0.8584 GB, free: 21.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01754/1.572, allocations: 12 MB / 0.8701 GB, free: 9.684 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/1.572, allocations: 44 kB / 0.8702 GB, free: 9.641 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.572, allocations: 88 kB / 0.8702 GB, free: 9.555 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008714/1.573, allocations: 417.2 kB / 0.8706 GB, free: 9.129 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006608/1.579, allocations: 2.001 MB / 0.8726 GB, free: 7.125 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/1.585, allocations: 9.594 MB / 0.882 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007474/1.593, allocations: 1.358 MB / 0.8833 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.594, allocations: 372 kB / 0.8836 GB, free: 10.95 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.008539/1.603, allocations: 4.586 MB / 0.8881 GB, free: 6.352 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.604, allocations: 0.6982 MB / 0.8888 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/1.621, allocations: 10.6 MB / 0.8992 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-05/1.621, allocations: 68 kB / 0.8992 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.621, allocations: 3.938 kB / 0.8992 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/1.621, allocations: 31.88 kB / 0.8993 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4576/2.079, allocations: 161.3 MB / 1.057 GB, free: 162.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004131/2.08, allocations: 88 kB / 1.057 GB, free: 162.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006009/2.086, allocations: 1.537 MB / 1.058 GB, free: 161 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/2.087, allocations: 388.5 kB / 1.059 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001508/2.088, allocations: 244 kB / 1.059 GB, free: 160.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/2.094, allocations: 9.457 MB / 1.068 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.968e-05/2.094, allocations: 131.4 kB / 1.068 GB, free: 150.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02022/2.114, allocations: 18.53 MB / 1.086 GB, free: 129.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005007/2.119, allocations: 2.009 MB / 1.088 GB, free: 128.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002017/2.121, allocations: 247.9 kB / 1.089 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005521/2.127, allocations: 0.562 MB / 1.089 GB, free: 127.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/2.128, allocations: 0.7224 MB / 1.09 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005294/2.128, allocations: 308 kB / 1.09 GB, free: 126.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.009319/2.138, allocations: 6.044 MB / 1.096 GB, free: 120.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.01e-07/2.138, allocations: 3.938 kB / 1.096 GB, free: 120.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01064/2.148, allocations: 2.625 MB / 1.099 GB, free: 117.6 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.001795/2.15, allocations: 498.7 kB / 1.099 GB, free: 117.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.014/2.164, allocations: 10.59 MB / 1.109 GB, free: 106.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.898e-05/2.164, allocations: 16.06 kB / 1.109 GB, free: 106.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007389/2.172, allocations: 5.434 MB / 1.115 GB, free: 100.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/2.182, allocations: 1.491 MB / 1.116 GB, free: 99.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03611/2.218, allocations: 24.26 MB / 1.14 GB, free: 74.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008013/2.226, allocations: 7.516 MB / 1.147 GB, free: 66.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003519/2.23, allocations: 0.638 MB / 1.148 GB, free: 65.82 MB / 0.6544 GB Notification: Performance of SimCode: time 1.212e-06/2.23, allocations: 0 / 1.148 GB, free: 65.82 MB / 0.6544 GB Notification: Performance of Templates: time 1.157/3.387, allocations: 0.537 GB / 1.685 GB, free: 51.14 MB / 0.6857 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches