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.001566/0.001566, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 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.2132/0.2132, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 79.81 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.332, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02122/0.3532, allocations: 19.75 MB / 0.5509 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.3655, allocations: 4.975 MB / 0.5558 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004676/0.3702, allocations: 167.5 kB / 0.556 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01827/0.3885, allocations: 7.762 MB / 0.5635 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00829/0.3968, allocations: 2.063 MB / 0.5656 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.4015, allocations: 1.389 MB / 0.5669 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01632/0.4179, allocations: 12.18 MB / 0.5788 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0433/0.4612, allocations: 26.06 MB / 0.6043 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009609/0.4709, allocations: 6.534 MB / 0.6106 GB, free: 464 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.4825, allocations: 7.202 MB / 0.6177 GB, free: 9.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004573/0.4871, allocations: 1.723 MB / 0.6194 GB, free: 7.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.4933, allocations: 1.918 MB / 0.6212 GB, free: 5.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005421/0.4987, allocations: 3.651 MB / 0.6248 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01153/0.5103, allocations: 7.003 MB / 0.6316 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02584/0.5362, allocations: 23.62 MB / 0.6547 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5362, allocations: 0 / 0.6547 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5362, allocations: 0 / 0.6547 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006068/0.5368, allocations: 0 / 0.6547 GB, free: 3.207 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.04177/0.5786, allocations: 14.56 MB / 0.6689 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5787, allocations: 16.02 kB / 0.6689 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06185/0.6405, allocations: 11.43 MB / 0.6801 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.6561, allocations: 7.326 MB / 0.6872 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009725/0.6571, allocations: 0.8871 MB / 0.6881 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00471/0.6618, allocations: 1.168 MB / 0.6893 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04695/0.7088, allocations: 18.57 MB / 0.7074 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006151/0.7095, allocations: 19.81 kB / 0.7074 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003986/0.7135, allocations: 496 kB / 0.7079 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007044/0.7142, allocations: 0.6577 MB / 0.7085 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4916/1.206, allocations: 19.08 MB / 0.7272 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09257/1.298, allocations: 60.21 MB / 0.7859 GB, free: 99.72 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01662/1.315, allocations: 16.6 MB / 0.8022 GB, free: 82.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005774/1.321, allocations: 4.524 MB / 0.8066 GB, free: 77.75 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/1.321, allocations: 322 kB / 0.8069 GB, free: 77.42 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/1.322, allocations: 107.6 kB / 0.807 GB, free: 77.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.995e-06/1.322, allocations: 0 / 0.807 GB, free: 77.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01606/1.338, allocations: 12.35 MB / 0.8191 GB, free: 64.74 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.338, allocations: 116.5 kB / 0.8192 GB, free: 64.61 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.349, allocations: 8.607 MB / 0.8276 GB, free: 56.02 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009763/1.35, allocations: 129.7 kB / 0.8277 GB, free: 55.89 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002512/1.352, allocations: 4.492 MB / 0.8321 GB, free: 51.38 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.354, allocations: 2.187 MB / 0.8342 GB, free: 49.18 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001993/1.356, allocations: 1.439 MB / 0.8356 GB, free: 47.73 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.679e-05/1.356, allocations: 301.1 kB / 0.8359 GB, free: 47.44 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/1.361, allocations: 4.106 MB / 0.8399 GB, free: 43.33 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006355/1.368, allocations: 6.909 MB / 0.8467 GB, free: 35.15 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.38, allocations: 11.94 MB / 0.8583 GB, free: 21.86 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.564e-05/1.38, allocations: 24 kB / 0.8584 GB, free: 21.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01717/1.397, allocations: 12 MB / 0.8701 GB, free: 9.727 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/1.397, allocations: 44 kB / 0.8701 GB, free: 9.684 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.397, allocations: 88.53 kB / 0.8702 GB, free: 9.598 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008394/1.398, allocations: 416.8 kB / 0.8706 GB, free: 9.172 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00679/1.405, allocations: 2.001 MB / 0.8725 GB, free: 7.168 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/1.411, allocations: 9.598 MB / 0.8819 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006885/1.418, allocations: 1.358 MB / 0.8832 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.419, allocations: 372 kB / 0.8836 GB, free: 10.99 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.008251/1.428, allocations: 4.586 MB / 0.8881 GB, free: 6.391 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.429, allocations: 0.6982 MB / 0.8888 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/1.447, allocations: 10.59 MB / 0.8991 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.207e-05/1.447, allocations: 68 kB / 0.8992 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/1.447, allocations: 3.938 kB / 0.8992 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.19e-05/1.447, allocations: 31.88 kB / 0.8992 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4235/1.871, allocations: 161.3 MB / 1.057 GB, free: 162.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001753/1.871, allocations: 84 kB / 1.057 GB, free: 162.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005442/1.876, allocations: 1.536 MB / 1.058 GB, free: 161.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/1.877, allocations: 384.5 kB / 1.059 GB, free: 160.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007973/1.878, allocations: 244 kB / 1.059 GB, free: 160.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/1.883, allocations: 9.456 MB / 1.068 GB, free: 150.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.783e-05/1.883, allocations: 135.4 kB / 1.068 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/1.902, allocations: 18.53 MB / 1.086 GB, free: 130 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004063/1.906, allocations: 2.013 MB / 1.088 GB, free: 128.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/1.907, allocations: 243.9 kB / 1.089 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005213/1.913, allocations: 0.558 MB / 1.089 GB, free: 127.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/1.914, allocations: 0.7263 MB / 1.09 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004912/1.914, allocations: 308 kB / 1.09 GB, free: 126.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008677/1.923, allocations: 6.047 MB / 1.096 GB, free: 120.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.81e-07/1.923, allocations: 5.625 kB / 1.096 GB, free: 120.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009428/1.932, allocations: 2.623 MB / 1.099 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.001779/1.934, allocations: 0.4938 MB / 1.099 GB, free: 117.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.014/1.948, allocations: 10.6 MB / 1.109 GB, free: 106.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.755e-05/1.948, allocations: 12 kB / 1.109 GB, free: 106.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007366/1.956, allocations: 5.433 MB / 1.115 GB, free: 101 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/1.967, allocations: 1.495 MB / 1.116 GB, free: 99.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/2.003, allocations: 24.24 MB / 1.14 GB, free: 74.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009914/2.013, allocations: 7.518 MB / 1.147 GB, free: 66.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002943/2.016, allocations: 0.6322 MB / 1.148 GB, free: 65.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/2.016, allocations: 6.078 kB / 1.148 GB, free: 65.89 MB / 0.6544 GB Notification: Performance of Templates: time 1.015/3.03, allocations: 0.537 GB / 1.685 GB, free: 51.27 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