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.00149/0.001491, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 198 kB / 18.73 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.46/1.46, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5004, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02427/0.5247, allocations: 19.76 MB / 0.5503 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.5402, allocations: 4.974 MB / 0.5552 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006707/0.547, allocations: 163.4 kB / 0.5553 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01919/0.5663, allocations: 7.771 MB / 0.5629 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.5779, allocations: 2.043 MB / 0.5649 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005437/0.5834, allocations: 1.404 MB / 0.5663 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02087/0.6042, allocations: 12.18 MB / 0.5782 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05229/0.6566, allocations: 26.06 MB / 0.6036 GB, free: 7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/0.6697, allocations: 6.507 MB / 0.61 GB, free: 488 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/0.6856, allocations: 7.21 MB / 0.617 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007362/0.693, allocations: 1.723 MB / 0.6187 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009781/0.7028, allocations: 1.918 MB / 0.6206 GB, free: 5.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008604/0.7114, allocations: 3.643 MB / 0.6241 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01804/0.7295, allocations: 7.011 MB / 0.631 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0385/0.7681, allocations: 23.69 MB / 0.6541 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.7681, allocations: 0 / 0.6541 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7681, allocations: 0 / 0.6541 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009658/0.7691, allocations: 0 / 0.6541 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.05572/0.8249, allocations: 14.82 MB / 0.6686 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.806e-05/0.825, allocations: 8.031 kB / 0.6686 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06157/0.8866, allocations: 11.49 MB / 0.6798 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.9047, allocations: 7.34 MB / 0.687 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00122/0.9059, allocations: 0.8871 MB / 0.6878 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006509/0.9125, allocations: 1.179 MB / 0.689 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06149/0.974, allocations: 18.56 MB / 0.7071 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007881/0.9748, allocations: 23.89 kB / 0.7071 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005954/0.9808, allocations: 496 kB / 0.7076 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008795/0.9817, allocations: 0.6539 MB / 0.7082 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.783/1.765, allocations: 19.08 MB / 0.7269 GB, free: 145 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1046/1.869, allocations: 60.39 MB / 0.7858 GB, free: 99.44 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/1.887, allocations: 16.61 MB / 0.8021 GB, free: 82.02 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005994/1.893, allocations: 4.524 MB / 0.8065 GB, free: 77.47 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/1.894, allocations: 321.3 kB / 0.8068 GB, free: 77.14 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/1.894, allocations: 103.7 kB / 0.8069 GB, free: 77.03 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.434e-06/1.894, allocations: 0 / 0.8069 GB, free: 77.03 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01672/1.91, allocations: 12.39 MB / 0.819 GB, free: 64.43 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.91, allocations: 116.5 kB / 0.8191 GB, free: 64.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.923, allocations: 8.609 MB / 0.8275 GB, free: 55.75 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/1.925, allocations: 133.7 kB / 0.8276 GB, free: 55.62 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/1.928, allocations: 4.605 MB / 0.8321 GB, free: 51.51 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002332/1.93, allocations: 2.307 MB / 0.8344 GB, free: 49.22 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/1.932, allocations: 1.443 MB / 0.8358 GB, free: 47.77 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/1.932, allocations: 301.1 kB / 0.8361 GB, free: 47.48 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.938, allocations: 4.098 MB / 0.8401 GB, free: 43.38 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006407/1.944, allocations: 6.913 MB / 0.8468 GB, free: 35.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.959, allocations: 11.93 MB / 0.8585 GB, free: 21.91 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.96, allocations: 28 kB / 0.8585 GB, free: 21.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02309/1.983, allocations: 12.04 MB / 0.8703 GB, free: 9.73 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/1.983, allocations: 40 kB / 0.8703 GB, free: 9.691 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/1.983, allocations: 92 kB / 0.8704 GB, free: 9.602 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008842/1.984, allocations: 409.1 kB / 0.8708 GB, free: 9.184 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007219/1.991, allocations: 2.008 MB / 0.8727 GB, free: 7.172 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/1.998, allocations: 9.59 MB / 0.8821 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008445/2.006, allocations: 1.393 MB / 0.8835 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/2.008, allocations: 372 kB / 0.8838 GB, free: 10.97 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.0109/2.019, allocations: 4.578 MB / 0.8883 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/2.021, allocations: 0.7413 MB / 0.889 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/2.041, allocations: 10.6 MB / 0.8994 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/2.041, allocations: 64 kB / 0.8994 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/2.041, allocations: 11.88 kB / 0.8994 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.159e-05/2.041, allocations: 31.88 kB / 0.8995 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5285/2.569, allocations: 161.3 MB / 1.057 GB, free: 162.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001963/2.569, allocations: 88 kB / 1.057 GB, free: 162.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005937/2.575, allocations: 1.54 MB / 1.059 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008517/2.576, allocations: 389.2 kB / 1.059 GB, free: 160.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/2.577, allocations: 244 kB / 1.059 GB, free: 160 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/2.583, allocations: 9.462 MB / 1.068 GB, free: 149.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.685e-05/2.583, allocations: 132.8 kB / 1.069 GB, free: 149.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/2.604, allocations: 18.57 MB / 1.087 GB, free: 129.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004926/2.609, allocations: 2.044 MB / 1.089 GB, free: 127.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002059/2.611, allocations: 249.9 kB / 1.089 GB, free: 127.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006509/2.617, allocations: 0.5541 MB / 1.09 GB, free: 126.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001991/2.619, allocations: 0.734 MB / 1.09 GB, free: 126.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006772/2.62, allocations: 304 kB / 1.091 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01092/2.631, allocations: 6.047 MB / 1.096 GB, free: 119.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.41e-07/2.631, allocations: 0 / 1.096 GB, free: 119.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01353/2.645, allocations: 2.645 MB / 1.099 GB, free: 117.4 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.002507/2.647, allocations: 0.4942 MB / 1.099 GB, free: 116.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01611/2.663, allocations: 10.59 MB / 1.11 GB, free: 106.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.789e-05/2.663, allocations: 16 kB / 1.11 GB, free: 106.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008049/2.671, allocations: 5.438 MB / 1.115 GB, free: 100.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/2.683, allocations: 1.493 MB / 1.117 GB, free: 99.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04344/2.727, allocations: 24.95 MB / 1.141 GB, free: 73.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00966/2.736, allocations: 7.773 MB / 1.149 GB, free: 65.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008613/2.745, allocations: 3.566 MB / 1.152 GB, free: 61.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/2.747, allocations: 0.5814 MB / 1.153 GB, free: 61.13 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/2.748, allocations: 0 / 1.153 GB, free: 61.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.4654/3.213, allocations: 97.06 MB / 1.247 GB, free: 213.9 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