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.001289/0.001289, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.814/1.814, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 46.12 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 77.78 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 62.44 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02303/0.149, allocations: 19.43 MB / 499.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1612, allocations: 4.943 MB / 0.4925 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004521/0.1658, allocations: 155.5 kB / 0.4926 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01763/0.1835, allocations: 7.365 MB / 0.4998 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.1917, allocations: 1.881 MB / 0.5017 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004641/0.1964, allocations: 1.315 MB / 0.5029 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2707/0.4672, allocations: 12.43 MB / 0.5151 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03837/0.5056, allocations: 21.84 MB / 0.5364 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.5213, allocations: 6.151 MB / 0.5424 GB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.5358, allocations: 7.059 MB / 0.5493 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005229/0.5411, allocations: 1.227 MB / 0.5505 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008344/0.5495, allocations: 1.423 MB / 0.5519 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007156/0.5567, allocations: 3.107 MB / 0.5549 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01475/0.5715, allocations: 6.474 MB / 0.5613 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03296/0.6045, allocations: 20.39 MB / 0.5812 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.6046, allocations: 5.5 kB / 0.5812 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6046, allocations: 0 / 0.5812 GB, free: 10.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007264/0.6054, allocations: 0 / 0.5812 GB, free: 10.42 MB / 430.1 MB 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.06371/0.6691, allocations: 14.56 MB / 0.5954 GB, free: 11.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.6692, allocations: 8.875 kB / 0.5954 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0653/0.7345, allocations: 11.44 MB / 0.6066 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.7506, allocations: 7.083 MB / 0.6135 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.7517, allocations: 0.8892 MB / 0.6144 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005115/0.7568, allocations: 1.167 MB / 0.6155 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04854/0.8054, allocations: 18.56 MB / 0.6336 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005593/0.806, allocations: 19.81 kB / 0.6336 GB, free: 5.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003707/0.8097, allocations: 0.4923 MB / 0.6341 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007409/0.8104, allocations: 0.6538 MB / 0.6348 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/0.8536, allocations: 19.07 MB / 0.6534 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8819/1.736, allocations: 60.9 MB / 0.7129 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.035/1.771, allocations: 16.6 MB / 0.7291 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01157/1.782, allocations: 4.519 MB / 0.7335 GB, free: 127 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.783, allocations: 316.3 kB / 0.7338 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/1.784, allocations: 110.9 kB / 0.7339 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.556e-05/1.784, allocations: 3.984 kB / 0.7339 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.03475/1.818, allocations: 12.35 MB / 0.746 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.818, allocations: 119.1 kB / 0.7461 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02397/1.842, allocations: 8.607 MB / 0.7545 GB, free: 120 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/1.844, allocations: 134 kB / 0.7546 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005537/1.85, allocations: 4.488 MB / 0.759 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003927/1.854, allocations: 2.183 MB / 0.7611 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003867/1.858, allocations: 1.437 MB / 0.7625 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7e-05/1.858, allocations: 307.4 kB / 0.7628 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009907/1.868, allocations: 4.102 MB / 0.7668 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01392/1.882, allocations: 6.905 MB / 0.7736 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02385/1.906, allocations: 11.94 MB / 0.7852 GB, free: 98.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002085/1.906, allocations: 26.53 kB / 0.7852 GB, free: 98.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.03583/1.942, allocations: 12.01 MB / 0.797 GB, free: 87.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/1.942, allocations: 51.66 kB / 0.797 GB, free: 87.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.942, allocations: 88 kB / 0.7971 GB, free: 87.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/1.944, allocations: 404.9 kB / 0.7975 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/1.957, allocations: 2.008 MB / 0.7995 GB, free: 85.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/1.966, allocations: 8.921 MB / 0.8082 GB, free: 75.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01374/1.98, allocations: 1.354 MB / 0.8095 GB, free: 74.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003166/1.983, allocations: 368 kB / 0.8098 GB, free: 73.69 MB / 0.5294 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.01492/1.998, allocations: 4.586 MB / 0.8143 GB, free: 69.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003437/2.001, allocations: 0.7059 MB / 0.815 GB, free: 68.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03148/2.033, allocations: 10.61 MB / 0.8254 GB, free: 57.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-05/2.033, allocations: 64 kB / 0.8254 GB, free: 57.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-05/2.033, allocations: 4 kB / 0.8254 GB, free: 57.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001964/2.033, allocations: 39.8 kB / 0.8255 GB, free: 57.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7551/2.788, allocations: 161.4 MB / 0.9831 GB, free: 138 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002683/2.789, allocations: 84.97 kB / 0.9832 GB, free: 138 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009974/2.799, allocations: 1.544 MB / 0.9847 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/2.8, allocations: 391.2 kB / 0.9851 GB, free: 136 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001342/2.801, allocations: 244 kB / 0.9853 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007834/2.809, allocations: 8.796 MB / 0.9939 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.233e-05/2.809, allocations: 131.4 kB / 0.994 GB, free: 126.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03829/2.848, allocations: 18.53 MB / 1.012 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007959/2.856, allocations: 2.009 MB / 1.014 GB, free: 104 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003772/2.86, allocations: 244 kB / 1.014 GB, free: 103.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0103/2.87, allocations: 0.5541 MB / 1.015 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002351/2.872, allocations: 0.7301 MB / 1.016 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009956/2.873, allocations: 315 kB / 1.016 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01521/2.889, allocations: 6.044 MB / 1.022 GB, free: 96.14 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.81e-07/2.889, allocations: 0 / 1.022 GB, free: 96.14 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01611/2.905, allocations: 2.629 MB / 1.024 GB, free: 93.5 MB / 0.5607 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.002546/2.907, allocations: 498.4 kB / 1.025 GB, free: 93 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0235/2.931, allocations: 10.37 MB / 1.035 GB, free: 82.54 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 0.0001015/2.931, allocations: 12 kB / 1.035 GB, free: 82.53 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01435/2.945, allocations: 5.435 MB / 1.04 GB, free: 77.04 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02106/2.966, allocations: 1.453 MB / 1.042 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06419/3.031, allocations: 28.63 MB / 1.07 GB, free: 45.75 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01523/3.046, allocations: 7.522 MB / 1.077 GB, free: 38.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004969/3.051, allocations: 0.6243 MB / 1.078 GB, free: 37.57 MB / 0.5607 GB Notification: Performance of SimCode: time 1.964e-06/3.051, allocations: 0 / 1.078 GB, free: 37.57 MB / 0.5607 GB Notification: Performance of Templates: time 1.616/4.667, allocations: 0.5357 GB / 1.613 GB, free: 162 MB / 0.5919 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