Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 96.61 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 176.9 kB / 18.91 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 243 MB, free: 14.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003177, allocations: 9.562 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02196/0.1494, allocations: 21.23 MB / 494.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.1633, allocations: 5.378 MB / 499.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/0.169, allocations: 183.4 kB / 499.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005239/0.1742, allocations: 1.427 MB / 0.4894 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.1853, allocations: 2.099 MB / 0.4914 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006283/0.1916, allocations: 1.567 MB / 0.493 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2983/0.49, allocations: 14.47 MB / 0.5071 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06427/0.5543, allocations: 33.47 MB / 0.5398 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009677/0.564, allocations: 5.587 MB / 0.5452 GB, free: 384 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.576, allocations: 6.565 MB / 0.5516 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003579/0.5796, allocations: 0.832 MB / 0.5525 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006284/0.5859, allocations: 1.063 MB / 0.5535 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00734/0.5933, allocations: 2.698 MB / 0.5561 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01889/0.6123, allocations: 6.656 MB / 0.5626 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03257/0.6449, allocations: 24.1 MB / 0.5862 GB, free: 9.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6449, allocations: 0.75 kB / 0.5862 GB, free: 9.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6449, allocations: 0 / 0.5862 GB, free: 9.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000934/0.6459, allocations: 4 kB / 0.5862 GB, free: 9.586 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04895/0.6948, allocations: 15.52 MB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.6949, allocations: 8.031 kB / 0.6013 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06159/0.7565, allocations: 11.76 MB / 0.6128 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02395/0.7805, allocations: 8.55 MB / 0.6212 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001663/0.7822, allocations: 1.058 MB / 0.6222 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006325/0.7886, allocations: 1.38 MB / 0.6235 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06646/0.855, allocations: 23.61 MB / 0.6466 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000748/0.8558, allocations: 11.91 kB / 0.6466 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005712/0.8616, allocations: 0.575 MB / 0.6472 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008581/0.8625, allocations: 0.6978 MB / 0.6479 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04947/0.9119, allocations: 21.74 MB / 0.6691 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4804/1.392, allocations: 71.95 MB / 0.7394 GB, free: 105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02394/1.416, allocations: 28.67 MB / 0.7674 GB, free: 83.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00831/1.425, allocations: 4.995 MB / 0.7722 GB, free: 83.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02824/1.453, allocations: 15.7 MB / 0.7876 GB, free: 77.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.453, allocations: 81.22 kB / 0.7876 GB, free: 77.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.482e-06/1.453, allocations: 0 / 0.7876 GB, free: 77.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03431/1.487, allocations: 15.86 MB / 0.8031 GB, free: 68.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.488, allocations: 123.3 kB / 0.8032 GB, free: 68.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007495/1.495, allocations: 5.112 MB / 0.8082 GB, free: 65.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001282/1.496, allocations: 97.7 kB / 0.8083 GB, free: 65.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003699/1.5, allocations: 5.885 MB / 0.8141 GB, free: 59.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/1.502, allocations: 1.589 MB / 0.8156 GB, free: 57.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000865/1.503, allocations: 0.604 MB / 0.8162 GB, free: 57.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/1.503, allocations: 305.2 kB / 0.8165 GB, free: 56.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005505/1.509, allocations: 4.172 MB / 0.8206 GB, free: 52.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007119/1.516, allocations: 7.294 MB / 0.8277 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/1.529, allocations: 11.99 MB / 0.8394 GB, free: 30.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-05/1.529, allocations: 32 kB / 0.8394 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02218/1.551, allocations: 13.16 MB / 0.8523 GB, free: 18.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/1.551, allocations: 52.12 kB / 0.8523 GB, free: 18.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.551, allocations: 112 kB / 0.8525 GB, free: 18.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005803/1.557, allocations: 3.079 MB / 0.8555 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006603/1.564, allocations: 1.602 MB / 0.857 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03005/1.594, allocations: 21.93 MB / 0.8784 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/1.602, allocations: 1.073 MB / 0.8795 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.604, allocations: 389.9 kB / 0.8799 GB, free: 5.801 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01274/1.616, allocations: 5.381 MB / 0.8851 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/1.618, allocations: 0.4938 MB / 0.8856 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/1.641, allocations: 9.7 MB / 0.8951 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6e-05/1.641, allocations: 44 kB / 0.8951 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/1.641, allocations: 4.984 kB / 0.8951 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.641, allocations: 27.91 kB / 0.8951 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05286/1.694, allocations: 20.86 MB / 0.9155 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/1.694, allocations: 0 / 0.9155 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/1.698, allocations: 0.7366 MB / 0.9162 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007213/1.705, allocations: 2.969 MB / 0.9191 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001216/1.706, allocations: 95.98 kB / 0.9192 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3465/2.053, allocations: 21.69 MB / 0.9404 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/2.053, allocations: 0.5625 kB / 0.9404 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02847/2.081, allocations: 14.3 MB / 0.9544 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00371/2.085, allocations: 1.382 MB / 0.9557 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/2.087, allocations: 89.53 kB / 0.9558 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004045/2.091, allocations: 392.1 kB / 0.9562 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/2.092, allocations: 380.3 kB / 0.9565 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007471/2.093, allocations: 130.2 kB / 0.9567 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006838/2.1, allocations: 3.421 MB / 0.96 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.41e-07/2.1, allocations: 0 / 0.96 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01321/2.113, allocations: 3.419 MB / 0.9633 GB, free: 200.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/2.115, allocations: 251.8 kB / 0.9636 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02007/2.135, allocations: 11.44 MB / 0.9748 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/2.135, allocations: 3.562 kB / 0.9748 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01078/2.146, allocations: 6 MB / 0.9806 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009256/2.155, allocations: 1.191 MB / 0.9818 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05413/2.209, allocations: 29.66 MB / 1.011 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01402/2.223, allocations: 8.816 MB / 1.019 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/2.226, allocations: 433.7 kB / 1.02 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.525e-06/2.226, allocations: 0 / 1.02 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.9452/3.171, allocations: 385.3 MB / 1.396 GB, free: 190.2 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches