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.001364/0.001369, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 79.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4918, 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.02387/0.5157, allocations: 19.74 MB / 0.5503 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.5315, allocations: 4.987 MB / 0.5551 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006742/0.5383, allocations: 159.5 kB / 0.5553 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01957/0.5579, allocations: 7.767 MB / 0.5629 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.5697, allocations: 2.047 MB / 0.5649 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005888/0.5756, allocations: 1.406 MB / 0.5663 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01996/0.5956, allocations: 12.17 MB / 0.5781 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05312/0.6488, allocations: 26.07 MB / 0.6036 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.6615, allocations: 6.506 MB / 0.6099 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01372/0.6752, allocations: 7.206 MB / 0.617 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006394/0.6816, allocations: 1.723 MB / 0.6187 GB, free: 7.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009272/0.6909, allocations: 1.922 MB / 0.6205 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00853/0.6995, allocations: 3.647 MB / 0.6241 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0199/0.7195, allocations: 7.007 MB / 0.6309 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0363/0.7558, allocations: 23.67 MB / 0.6541 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7559, allocations: 8 kB / 0.6541 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7559, allocations: 0 / 0.6541 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009047/0.7568, allocations: 0 / 0.6541 GB, free: 3.215 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.0511/0.8079, allocations: 14.82 MB / 0.6686 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.808, allocations: 8.031 kB / 0.6686 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06118/0.8691, allocations: 11.49 MB / 0.6798 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/0.8913, allocations: 7.34 MB / 0.687 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/0.8927, allocations: 0.8911 MB / 0.6878 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006875/0.8996, allocations: 1.164 MB / 0.689 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05806/0.9577, allocations: 18.57 MB / 0.7071 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008872/0.9586, allocations: 19.91 kB / 0.7071 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006414/0.9651, allocations: 496 kB / 0.7076 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009657/0.9661, allocations: 0.6577 MB / 0.7082 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8001/1.766, allocations: 19.08 MB / 0.7269 GB, free: 145 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1116/1.878, allocations: 60.39 MB / 0.7858 GB, free: 99.59 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/1.896, allocations: 16.6 MB / 0.802 GB, free: 82.18 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00664/1.903, allocations: 4.532 MB / 0.8065 GB, free: 77.62 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/1.903, allocations: 321.8 kB / 0.8068 GB, free: 77.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/1.904, allocations: 103.7 kB / 0.8069 GB, free: 77.18 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 8.446e-06/1.904, allocations: 0 / 0.8069 GB, free: 77.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01776/1.921, allocations: 12.38 MB / 0.819 GB, free: 64.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.921, allocations: 124.5 kB / 0.8191 GB, free: 64.46 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.934, allocations: 8.609 MB / 0.8275 GB, free: 55.91 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001467/1.935, allocations: 129.7 kB / 0.8276 GB, free: 55.78 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003326/1.939, allocations: 4.611 MB / 0.8321 GB, free: 51.66 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00289/1.942, allocations: 2.297 MB / 0.8344 GB, free: 49.37 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/1.944, allocations: 1.443 MB / 0.8358 GB, free: 47.92 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/1.944, allocations: 305.1 kB / 0.8361 GB, free: 47.62 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005313/1.949, allocations: 4.102 MB / 0.8401 GB, free: 43.52 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007144/1.956, allocations: 6.909 MB / 0.8468 GB, free: 35.34 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/1.971, allocations: 11.93 MB / 0.8585 GB, free: 22.05 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.971, allocations: 31.94 kB / 0.8585 GB, free: 22.02 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0231/1.994, allocations: 12.04 MB / 0.8702 GB, free: 9.875 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/1.994, allocations: 44 kB / 0.8703 GB, free: 9.832 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/1.994, allocations: 92 kB / 0.8704 GB, free: 9.742 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009572/1.995, allocations: 416.8 kB / 0.8708 GB, free: 9.316 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007679/2.003, allocations: 2.005 MB / 0.8727 GB, free: 7.309 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/2.009, allocations: 9.595 MB / 0.8821 GB, free: 12.87 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/2.018, allocations: 1.396 MB / 0.8835 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/2.02, allocations: 376 kB / 0.8838 GB, free: 11.1 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.01034/2.031, allocations: 4.574 MB / 0.8883 GB, free: 6.508 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/2.033, allocations: 0.7335 MB / 0.889 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/2.052, allocations: 10.59 MB / 0.8994 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/2.052, allocations: 68 kB / 0.8994 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/2.052, allocations: 11.94 kB / 0.8994 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.325e-05/2.052, allocations: 35.86 kB / 0.8995 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.605/2.657, allocations: 161.4 MB / 1.057 GB, free: 162.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000412/2.658, allocations: 84 kB / 1.057 GB, free: 162.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006015/2.664, allocations: 1.536 MB / 1.059 GB, free: 160.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/2.665, allocations: 388.2 kB / 1.059 GB, free: 160.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001318/2.666, allocations: 244 kB / 1.059 GB, free: 160.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/2.671, allocations: 9.462 MB / 1.068 GB, free: 150 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.382e-05/2.671, allocations: 135.4 kB / 1.069 GB, free: 149.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02322/2.694, allocations: 18.56 MB / 1.087 GB, free: 129.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006826/2.701, allocations: 2.048 MB / 1.089 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002865/2.704, allocations: 245.9 kB / 1.089 GB, free: 127.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007696/2.712, allocations: 0.5541 MB / 1.089 GB, free: 127.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002097/2.714, allocations: 0.734 MB / 1.09 GB, free: 126.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008836/2.715, allocations: 308 kB / 1.091 GB, free: 126.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01063/2.726, allocations: 6.047 MB / 1.096 GB, free: 120 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.6e-07/2.726, allocations: 0 / 1.096 GB, free: 120 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01134/2.737, allocations: 2.644 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.001996/2.739, allocations: 0.4903 MB / 1.099 GB, free: 117.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.754, allocations: 10.59 MB / 1.11 GB, free: 106.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.728e-05/2.754, allocations: 12.94 kB / 1.11 GB, free: 106.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007548/2.761, allocations: 5.446 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.0124/2.774, allocations: 1.503 MB / 1.117 GB, free: 99.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/2.815, allocations: 24.94 MB / 1.141 GB, free: 73.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009009/2.824, allocations: 7.773 MB / 1.149 GB, free: 65.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008439/2.833, allocations: 3.564 MB / 1.152 GB, free: 61.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002322/2.835, allocations: 0.5814 MB / 1.153 GB, free: 61.35 MB / 0.6544 GB Notification: Performance of SimCode: time 1.704e-06/2.835, allocations: 0 / 1.153 GB, free: 61.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.4722/3.307, allocations: 97.07 MB / 1.247 GB, free: 214.1 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