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.001269/0.001269, allocations: 114.3 kB / 18.46 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.001403/0.001404, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 67.89 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3579, 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.02076/0.3787, allocations: 19.75 MB / 0.551 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.393, allocations: 4.982 MB / 0.5558 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005211/0.3983, allocations: 163.5 kB / 0.556 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01771/0.4161, allocations: 7.787 MB / 0.5636 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007817/0.4239, allocations: 2.071 MB / 0.5656 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.4282, allocations: 1.401 MB / 0.567 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01535/0.4436, allocations: 12.18 MB / 0.5789 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04425/0.4879, allocations: 26.07 MB / 0.6043 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.4985, allocations: 6.526 MB / 0.6107 GB, free: 428 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.5099, allocations: 7.202 MB / 0.6177 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004786/0.5147, allocations: 1.727 MB / 0.6194 GB, free: 7.461 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/0.5208, allocations: 1.918 MB / 0.6213 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005773/0.5266, allocations: 3.643 MB / 0.6248 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01452/0.5412, allocations: 7.015 MB / 0.6317 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02973/0.5709, allocations: 23.62 MB / 0.6548 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.571, allocations: 4 kB / 0.6548 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.571, allocations: 0 / 0.6548 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007507/0.5718, allocations: 0 / 0.6548 GB, free: 3.16 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.04985/0.6216, allocations: 14.56 MB / 0.669 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.6217, allocations: 8.031 kB / 0.669 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06249/0.6842, allocations: 11.43 MB / 0.6802 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/0.7036, allocations: 7.318 MB / 0.6873 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/0.7048, allocations: 0.895 MB / 0.6882 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006523/0.7114, allocations: 1.168 MB / 0.6893 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05576/0.7672, allocations: 18.56 MB / 0.7074 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007342/0.7679, allocations: 19.81 kB / 0.7075 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005303/0.7733, allocations: 500 kB / 0.7079 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008563/0.7742, allocations: 0.6577 MB / 0.7086 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6544/1.429, allocations: 19.08 MB / 0.7272 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/1.537, allocations: 60.2 MB / 0.786 GB, free: 99.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/1.555, allocations: 16.61 MB / 0.8022 GB, free: 82.27 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00638/1.562, allocations: 4.532 MB / 0.8066 GB, free: 77.71 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/1.562, allocations: 322.9 kB / 0.807 GB, free: 77.39 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/1.562, allocations: 103.7 kB / 0.807 GB, free: 77.27 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.568e-06/1.562, allocations: 0 / 0.807 GB, free: 77.27 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01693/1.579, allocations: 12.35 MB / 0.8191 GB, free: 64.71 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/1.579, allocations: 124.4 kB / 0.8192 GB, free: 64.58 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/1.591, allocations: 8.607 MB / 0.8276 GB, free: 55.98 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.592, allocations: 133.7 kB / 0.8278 GB, free: 55.85 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003182/1.596, allocations: 4.488 MB / 0.8321 GB, free: 51.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002798/1.598, allocations: 2.184 MB / 0.8343 GB, free: 49.15 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/1.6, allocations: 1.435 MB / 0.8357 GB, free: 47.71 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/1.601, allocations: 309.1 kB / 0.836 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005264/1.606, allocations: 4.098 MB / 0.84 GB, free: 43.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007091/1.613, allocations: 6.909 MB / 0.8467 GB, free: 35.12 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/1.626, allocations: 11.93 MB / 0.8584 GB, free: 21.84 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.675e-05/1.626, allocations: 31.88 kB / 0.8584 GB, free: 21.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0179/1.644, allocations: 12 MB / 0.8701 GB, free: 9.691 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.644, allocations: 44 kB / 0.8702 GB, free: 9.648 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/1.644, allocations: 88 kB / 0.8703 GB, free: 9.562 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.645, allocations: 416.9 kB / 0.8707 GB, free: 9.137 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00719/1.653, allocations: 2.001 MB / 0.8726 GB, free: 7.133 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/1.659, allocations: 9.59 MB / 0.882 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.67, allocations: 1.35 MB / 0.8833 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002446/1.672, allocations: 383.9 kB / 0.8837 GB, free: 10.96 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.01233/1.685, allocations: 4.581 MB / 0.8881 GB, free: 6.367 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0026/1.687, allocations: 0.6982 MB / 0.8888 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0236/1.711, allocations: 10.6 MB / 0.8992 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001299/1.711, allocations: 31.88 kB / 0.8992 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.711, allocations: 4 kB / 0.8992 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006042/1.717, allocations: 1.88 MB / 0.901 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/1.719, allocations: 116 kB / 0.9011 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005122/1.724, allocations: 0.4915 MB / 0.9016 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.726, allocations: 397 kB / 0.902 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01932/1.745, allocations: 9.052 MB / 0.9108 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02347/1.768, allocations: 13.99 MB / 0.9245 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006678/1.775, allocations: 3.923 MB / 0.9283 GB, free: 12.83 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01287/1.788, allocations: 6.047 MB / 0.9342 GB, free: 6.801 MB / 0.6232 GB Notification: Performance of Backend: time 1.042e-06/1.788, allocations: 0 / 0.9342 GB, free: 6.801 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02037/1.809, allocations: 7.004 MB / 0.9411 GB, free: 15.73 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04929/1.858, allocations: 19.63 MB / 0.9603 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.4946/2.353, allocations: 112.9 MB / 1.07 GB, free: 152.2 MB / 0.6544 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