Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 104.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.001958/0.001958, allocations: 209.7 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 2.285/2.285, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.412/0.412, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002248, allocations: 75.88 kB / 417.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1982, allocations: 62.42 MB / 479.9 MB, free: 9.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.03749/0.2357, allocations: 22.34 MB / 0.4905 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02016/0.256, allocations: 5.483 MB / 0.4959 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008495/0.2645, allocations: 183.4 kB / 0.496 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03429/0.2989, allocations: 8.999 MB / 0.5048 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01674/0.3157, allocations: 1.952 MB / 0.5067 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.3267, allocations: 1.784 MB / 0.5085 GB, free: 216 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03202/0.3587, allocations: 14.48 MB / 0.5226 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.8179/1.177, allocations: 29.04 MB / 0.551 GB, free: 46.03 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01564/1.192, allocations: 6.994 MB / 0.5578 GB, free: 45.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02045/1.213, allocations: 8.417 MB / 0.566 GB, free: 43.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01095/1.224, allocations: 1.509 MB / 0.5675 GB, free: 43.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/1.238, allocations: 1.758 MB / 0.5692 GB, free: 43.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01402/1.252, allocations: 3.684 MB / 0.5728 GB, free: 43.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02415/1.277, allocations: 7.772 MB / 0.5804 GB, free: 41.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03791/1.315, allocations: 24.79 MB / 0.6046 GB, free: 31.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.315, allocations: 0 / 0.6046 GB, free: 31.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.926e-06/1.315, allocations: 0 / 0.6046 GB, free: 31.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001028/1.316, allocations: 4 kB / 0.6046 GB, free: 31.45 MB / 462.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.09302/1.409, allocations: 18.69 MB / 0.6229 GB, free: 20.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/1.409, allocations: 12.03 kB / 0.6229 GB, free: 20.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1013/1.51, allocations: 11.69 MB / 0.6343 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02902/1.539, allocations: 8.563 MB / 0.6426 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00193/1.541, allocations: 1.061 MB / 0.6437 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00976/1.551, allocations: 1.377 MB / 0.645 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09771/1.649, allocations: 23.58 MB / 0.668 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008241/1.65, allocations: 19.89 kB / 0.6681 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007963/1.658, allocations: 0.569 MB / 0.6686 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/1.659, allocations: 0.6978 MB / 0.6693 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07801/1.737, allocations: 21.69 MB / 0.6905 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6592/2.396, allocations: 72.68 MB / 0.7615 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03644/2.433, allocations: 28.65 MB / 0.7894 GB, free: 123.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.012/2.445, allocations: 4.964 MB / 0.7943 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05959/2.505, allocations: 16.5 MB / 0.8104 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/2.505, allocations: 82.11 kB / 0.8105 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 1.315e-05/2.505, allocations: 4.578 kB / 0.8105 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.04994/2.555, allocations: 15.7 MB / 0.8258 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/2.555, allocations: 126.2 kB / 0.8259 GB, free: 117.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/2.567, allocations: 5.114 MB / 0.8309 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001324/2.569, allocations: 101.2 kB / 0.831 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004241/2.573, allocations: 5.89 MB / 0.8368 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002665/2.576, allocations: 1.578 MB / 0.8383 GB, free: 110.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003319/2.579, allocations: 1.533 MB / 0.8398 GB, free: 109.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/2.579, allocations: 305.1 kB / 0.8401 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/2.589, allocations: 4.145 MB / 0.8442 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01524/2.605, allocations: 7.262 MB / 0.8513 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02604/2.631, allocations: 11.93 MB / 0.8629 GB, free: 93.54 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/2.631, allocations: 35.75 kB / 0.8629 GB, free: 93.54 MB / 0.5607 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03983/2.671, allocations: 13.1 MB / 0.8757 GB, free: 85.57 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/2.671, allocations: 48 kB / 0.8758 GB, free: 85.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/2.671, allocations: 105.1 kB / 0.8759 GB, free: 85.42 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009139/2.68, allocations: 3.098 MB / 0.8789 GB, free: 82.36 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009555/2.69, allocations: 1.591 MB / 0.8805 GB, free: 80.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/2.692, allocations: 339 kB / 0.8808 GB, free: 80.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/2.706, allocations: 1.065 MB / 0.8818 GB, free: 79.35 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003202/2.709, allocations: 376 kB / 0.8822 GB, free: 78.98 MB / 0.5607 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.01935/2.729, allocations: 5.386 MB / 0.8874 GB, free: 73.58 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002776/2.731, allocations: 0.4976 MB / 0.8879 GB, free: 73.08 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02691/2.758, allocations: 9.639 MB / 0.8973 GB, free: 63.4 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.863e-05/2.759, allocations: 48 kB / 0.8974 GB, free: 63.36 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/2.759, allocations: 0 / 0.8974 GB, free: 63.36 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001216/2.759, allocations: 23.91 kB / 0.8974 GB, free: 63.33 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04903/2.808, allocations: 20.8 MB / 0.9177 GB, free: 42.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/2.808, allocations: 0 / 0.9177 GB, free: 42.55 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003654/2.811, allocations: 0.7294 MB / 0.9184 GB, free: 41.82 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006379/2.818, allocations: 2.973 MB / 0.9213 GB, free: 38.86 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/2.819, allocations: 98.36 kB / 0.9214 GB, free: 38.76 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006614/2.82, allocations: 150.4 kB / 0.9216 GB, free: 38.61 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.82, allocations: 0 / 0.9216 GB, free: 38.61 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/2.841, allocations: 14.2 MB / 0.9354 GB, free: 24.37 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004029/2.845, allocations: 1.364 MB / 0.9368 GB, free: 22.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.846, allocations: 79.94 kB / 0.9369 GB, free: 22.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00393/2.85, allocations: 379.6 kB / 0.9372 GB, free: 22.53 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/2.851, allocations: 309 kB / 0.9375 GB, free: 22.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003713/2.852, allocations: 136 kB / 0.9376 GB, free: 22.09 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006643/2.858, allocations: 3.423 MB / 0.941 GB, free: 18.68 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8.12e-07/2.858, allocations: 0 / 0.941 GB, free: 18.68 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01191/2.87, allocations: 3.189 MB / 0.9441 GB, free: 15.47 MB / 0.5607 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.00166/2.872, allocations: 248.4 kB / 0.9443 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.019/2.891, allocations: 9.876 MB / 0.954 GB, free: 5.355 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.891, allocations: 0.5 kB / 0.954 GB, free: 5.355 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/2.901, allocations: 4.45 MB / 0.9583 GB, free: 0.8828 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/2.912, allocations: 1.187 MB / 0.9595 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4934/3.406, allocations: 29.64 MB / 0.9884 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0292/3.435, allocations: 8.71 MB / 0.9969 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003723/3.439, allocations: 430.5 kB / 0.9974 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.694e-06/3.439, allocations: 0 / 0.9974 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of Templates: time 1.165/4.603, allocations: 382.1 MB / 1.371 GB, free: 30.41 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches