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.001282/0.001281, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 74 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1219, allocations: 62.45 MB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02573/0.1477, allocations: 22.33 MB / 0.4908 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.161, allocations: 5.456 MB / 0.4961 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006417/0.1675, allocations: 187.4 kB / 0.4963 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02257/0.1901, allocations: 8.994 MB / 0.5051 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2822/0.4724, allocations: 1.921 MB / 0.5069 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006509/0.4789, allocations: 1.765 MB / 0.5087 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02302/0.5019, allocations: 14.37 MB / 0.5227 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06785/0.5698, allocations: 39.42 MB / 0.5612 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/0.589, allocations: 8.066 MB / 0.5691 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01974/0.6088, allocations: 8.816 MB / 0.5777 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008432/0.6173, allocations: 2.105 MB / 0.5797 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.629, allocations: 2.35 MB / 0.582 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009166/0.6382, allocations: 4.323 MB / 0.5862 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01878/0.657, allocations: 8.424 MB / 0.5945 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03318/0.6902, allocations: 24.98 MB / 0.6189 GB, free: 4.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.6903, allocations: 0 / 0.6189 GB, free: 4.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6903, allocations: 0 / 0.6189 GB, free: 4.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009802/0.6913, allocations: 0 / 0.6189 GB, free: 4.082 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.0666/0.7579, allocations: 18.7 MB / 0.6371 GB, free: 1.461 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.758, allocations: 8.031 kB / 0.6371 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06336/0.8214, allocations: 11.41 MB / 0.6483 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02283/0.8443, allocations: 8.576 MB / 0.6567 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001628/0.8459, allocations: 1.06 MB / 0.6577 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007075/0.853, allocations: 1.369 MB / 0.659 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08325/0.9363, allocations: 23.63 MB / 0.6821 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000958/0.9373, allocations: 27.73 kB / 0.6821 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007195/0.9446, allocations: 0.5711 MB / 0.6827 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.9457, allocations: 0.6978 MB / 0.6834 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3563/1.302, allocations: 21.73 MB / 0.7046 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1597/1.462, allocations: 72.75 MB / 0.7756 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0265/1.488, allocations: 28.68 MB / 0.8037 GB, free: 80.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00934/1.498, allocations: 4.962 MB / 0.8085 GB, free: 75.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03356/1.531, allocations: 16.55 MB / 0.8247 GB, free: 58.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/1.531, allocations: 94.03 kB / 0.8248 GB, free: 58.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 8.375e-06/1.531, allocations: 0 / 0.8248 GB, free: 58.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03826/1.57, allocations: 15.74 MB / 0.8401 GB, free: 42.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.57, allocations: 128.6 kB / 0.8402 GB, free: 42.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.581, allocations: 5.101 MB / 0.8452 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/1.582, allocations: 105.7 kB / 0.8453 GB, free: 37.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003555/1.586, allocations: 5.884 MB / 0.8511 GB, free: 31.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/1.588, allocations: 1.585 MB / 0.8526 GB, free: 30.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005437/1.594, allocations: 1.551 MB / 0.8541 GB, free: 28.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/1.594, allocations: 305.1 kB / 0.8544 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006853/1.6, allocations: 4.152 MB / 0.8585 GB, free: 24.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008939/1.609, allocations: 7.274 MB / 0.8656 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.625, allocations: 11.95 MB / 0.8772 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.625, allocations: 35.94 kB / 0.8773 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03035/1.656, allocations: 13.13 MB / 0.8901 GB, free: 4.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/1.656, allocations: 48 kB / 0.8902 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/1.656, allocations: 108 kB / 0.8903 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007753/1.664, allocations: 3.106 MB / 0.8933 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006777/1.671, allocations: 1.599 MB / 0.8949 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009867/1.672, allocations: 339 kB / 0.8952 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007829/1.679, allocations: 1.065 MB / 0.8962 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.682, allocations: 395.9 kB / 0.8966 GB, free: 14.02 MB / 0.5606 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.0135/1.695, allocations: 5.39 MB / 0.9019 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.697, allocations: 0.4938 MB / 0.9023 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/1.721, allocations: 9.631 MB / 0.9117 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.951e-05/1.721, allocations: 48 kB / 0.9118 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/1.721, allocations: 0 / 0.9118 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001231/1.721, allocations: 23.92 kB / 0.9118 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.441/2.162, allocations: 20.85 MB / 0.9322 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/2.162, allocations: 4.906 kB / 0.9322 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/2.166, allocations: 0.7409 MB / 0.9329 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007473/2.174, allocations: 2.988 MB / 0.9358 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/2.175, allocations: 103.1 kB / 0.9359 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006864/2.175, allocations: 146.5 kB / 0.9361 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.175, allocations: 3.969 kB / 0.9361 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/2.2, allocations: 14.23 MB / 0.95 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004157/2.204, allocations: 1.372 MB / 0.9513 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002141/2.207, allocations: 75.84 kB / 0.9514 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004041/2.211, allocations: 378.2 kB / 0.9517 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/2.212, allocations: 321 kB / 0.952 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000807/2.213, allocations: 137.9 kB / 0.9522 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006909/2.22, allocations: 3.419 MB / 0.9555 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.91e-07/2.22, allocations: 0 / 0.9555 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01357/2.233, allocations: 3.19 MB / 0.9586 GB, free: 183.5 MB / 0.5762 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.001767/2.235, allocations: 262.8 kB / 0.9589 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.04161/2.277, allocations: 19.63 MB / 0.978 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/2.277, allocations: 4 kB / 0.9781 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/2.287, allocations: 4.46 MB / 0.9824 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/2.298, allocations: 1.266 MB / 0.9836 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06017/2.358, allocations: 29.53 MB / 1.012 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01825/2.376, allocations: 8.713 MB / 1.021 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/2.379, allocations: 477.2 kB / 1.021 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/2.379, allocations: 0 / 1.021 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of Templates: time 1.018/3.397, allocations: 382.5 MB / 1.395 GB, free: 187 MB / 0.5919 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