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.001132/0.001132, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.00119/0.00119, allocations: 194 kB / 18.12 MB, free: 5.383 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.47/1.47, allocations: 222.9 MB / 241.8 MB, free: 13.81 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.2257/0.2257, allocations: 44.18 MB / 336.1 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.86 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 60.84 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0257/0.1615, allocations: 22.3 MB / 490.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.177, allocations: 5.413 MB / 496.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006304/0.1834, allocations: 187.4 kB / 496.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02013/0.2035, allocations: 9 MB / 0.4936 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009693/0.2132, allocations: 2.107 MB / 0.4956 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.2188, allocations: 1.582 MB / 0.4972 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3068/0.5257, allocations: 14.47 MB / 0.5113 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05244/0.5782, allocations: 29.05 MB / 0.5397 GB, free: 216 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/0.5933, allocations: 7.115 MB / 0.5466 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0177/0.611, allocations: 8.405 MB / 0.5548 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007019/0.6181, allocations: 1.512 MB / 0.5563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009626/0.6278, allocations: 1.738 MB / 0.558 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007969/0.6358, allocations: 3.676 MB / 0.5616 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01945/0.6553, allocations: 7.773 MB / 0.5692 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0396/0.6949, allocations: 28.05 MB / 0.5966 GB, free: 10.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.695, allocations: 4 kB / 0.5966 GB, free: 10.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.695, allocations: 0 / 0.5966 GB, free: 10.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009803/0.696, allocations: 0 / 0.5966 GB, free: 10.27 MB / 446.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.07194/0.7679, allocations: 18.66 MB / 0.6148 GB, free: 7.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.768, allocations: 8.031 kB / 0.6148 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06294/0.8309, allocations: 11.69 MB / 0.6262 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02525/0.8562, allocations: 8.561 MB / 0.6346 GB, free: 3.867 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00181/0.8581, allocations: 1.06 MB / 0.6356 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007954/0.8661, allocations: 1.368 MB / 0.637 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07392/0.9401, allocations: 23.59 MB / 0.66 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005931/0.9407, allocations: 27.8 kB / 0.66 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005803/0.9465, allocations: 0.5674 MB / 0.6606 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007682/0.9473, allocations: 0.7017 MB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05442/1.002, allocations: 21.68 MB / 0.6824 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6656/1.667, allocations: 71.71 MB / 0.7525 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.689, allocations: 28.65 MB / 0.7805 GB, free: 101 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009203/1.698, allocations: 4.966 MB / 0.7853 GB, free: 98.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02664/1.725, allocations: 15.69 MB / 0.8006 GB, free: 87.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/1.725, allocations: 90.09 kB / 0.8007 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.094e-06/1.725, allocations: 0 / 0.8007 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03295/1.758, allocations: 15.7 MB / 0.816 GB, free: 71.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/1.758, allocations: 124.7 kB / 0.8162 GB, free: 71.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/1.766, allocations: 5.101 MB / 0.8211 GB, free: 66.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/1.767, allocations: 101.7 kB / 0.8212 GB, free: 65.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004057/1.771, allocations: 5.887 MB / 0.827 GB, free: 60.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003492/1.775, allocations: 1.588 MB / 0.8285 GB, free: 58.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00286/1.777, allocations: 1.531 MB / 0.83 GB, free: 56.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/1.778, allocations: 313 kB / 0.8303 GB, free: 56.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005726/1.783, allocations: 4.141 MB / 0.8344 GB, free: 52.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008143/1.791, allocations: 7.27 MB / 0.8415 GB, free: 43.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/1.806, allocations: 11.92 MB / 0.8531 GB, free: 30.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.806, allocations: 31.94 kB / 0.8531 GB, free: 30.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02119/1.827, allocations: 13.11 MB / 0.866 GB, free: 17.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/1.828, allocations: 53.09 kB / 0.866 GB, free: 17.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.828, allocations: 108.1 kB / 0.8661 GB, free: 17.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005477/1.833, allocations: 3.086 MB / 0.8691 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005136/1.838, allocations: 1.595 MB / 0.8707 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007026/1.839, allocations: 339 kB / 0.871 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007167/1.846, allocations: 1.057 MB / 0.872 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.848, allocations: 384 kB / 0.8724 GB, free: 10.56 MB / 0.5294 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.01049/1.859, allocations: 5.397 MB / 0.8777 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.86, allocations: 0.4937 MB / 0.8782 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.875, allocations: 9.632 MB / 0.8876 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/1.875, allocations: 48 kB / 0.8876 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.875, allocations: 0 / 0.8876 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/1.875, allocations: 23.91 kB / 0.8876 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04041/1.915, allocations: 20.8 MB / 0.9079 GB, free: 6.121 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.916, allocations: 0 / 0.9079 GB, free: 6.121 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/1.919, allocations: 0.7294 MB / 0.9087 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006446/1.925, allocations: 2.973 MB / 0.9116 GB, free: 2.402 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/1.926, allocations: 99.98 kB / 0.9117 GB, free: 2.305 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/1.927, allocations: 146.4 kB / 0.9118 GB, free: 2.152 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.927, allocations: 0 / 0.9118 GB, free: 2.152 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3683/2.295, allocations: 14.2 MB / 0.9257 GB, free: 185.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/2.299, allocations: 1.367 MB / 0.927 GB, free: 184.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/2.301, allocations: 76 kB / 0.9271 GB, free: 184.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/2.304, allocations: 382.8 kB / 0.9274 GB, free: 184.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007413/2.304, allocations: 316.7 kB / 0.9277 GB, free: 184.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/2.305, allocations: 130.2 kB / 0.9279 GB, free: 184.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005999/2.311, allocations: 3.422 MB / 0.9312 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.21e-07/2.311, allocations: 3.969 kB / 0.9312 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0104/2.321, allocations: 3.187 MB / 0.9343 GB, free: 182.3 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.001097/2.322, allocations: 251.2 kB / 0.9346 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01617/2.338, allocations: 9.876 MB / 0.9442 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.338, allocations: 0.9062 kB / 0.9442 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007844/2.346, allocations: 4.443 MB / 0.9485 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/2.353, allocations: 1.192 MB / 0.9497 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05034/2.403, allocations: 29.98 MB / 0.979 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01818/2.422, allocations: 9.012 MB / 0.9878 GB, free: 144 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009824/2.431, allocations: 2.873 MB / 0.9906 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/2.434, allocations: 367.4 kB / 0.9909 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.192e-06/2.434, allocations: 0 / 0.9909 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.152/2.586, allocations: 93.21 MB / 1.082 GB, free: 48.12 MB / 0.5607 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/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