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.001251/0.001251, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00122/0.00122, allocations: 194 kB / 18.77 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.348/1.348, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2364/0.2364, allocations: 44.17 MB / 336.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 59.84 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02081/0.1593, allocations: 22.3 MB / 491.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.1716, allocations: 5.417 MB / 496.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005152/0.1768, allocations: 183.4 kB / 497.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01948/0.1963, allocations: 9.007 MB / 0.4942 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.2064, allocations: 2.111 MB / 0.4963 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007898/0.2143, allocations: 1.583 MB / 0.4978 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2773/0.4916, allocations: 14.47 MB / 0.512 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04263/0.5343, allocations: 29.04 MB / 0.5403 GB, free: 196 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.5487, allocations: 7.102 MB / 0.5473 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/0.5641, allocations: 8.415 MB / 0.5555 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006378/0.5705, allocations: 1.508 MB / 0.557 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009021/0.5796, allocations: 1.749 MB / 0.5587 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007863/0.5875, allocations: 3.678 MB / 0.5623 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0175/0.605, allocations: 7.774 MB / 0.5698 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02807/0.6331, allocations: 24.78 MB / 0.594 GB, free: 13.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6332, allocations: 0 / 0.594 GB, free: 13.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6332, allocations: 0 / 0.594 GB, free: 13.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001052/0.6342, allocations: 0 / 0.594 GB, free: 13.45 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.06289/0.6971, allocations: 18.67 MB / 0.6123 GB, free: 10.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6972, allocations: 8.031 kB / 0.6123 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05997/0.7572, allocations: 11.69 MB / 0.6237 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/0.7774, allocations: 8.555 MB / 0.6321 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001248/0.7786, allocations: 1.061 MB / 0.6331 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006472/0.7851, allocations: 1.365 MB / 0.6344 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06443/0.8496, allocations: 23.59 MB / 0.6575 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006862/0.8503, allocations: 19.8 kB / 0.6575 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008491/0.8588, allocations: 0.5726 MB / 0.658 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008223/0.8597, allocations: 0.7017 MB / 0.6587 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05137/0.911, allocations: 21.68 MB / 0.6799 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6793/1.59, allocations: 71.71 MB / 0.7499 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0203/1.611, allocations: 28.68 MB / 0.7779 GB, free: 75.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007824/1.619, allocations: 4.958 MB / 0.7828 GB, free: 72.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03107/1.65, allocations: 15.68 MB / 0.7981 GB, free: 62.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.808e-05/1.65, allocations: 85.52 kB / 0.7982 GB, free: 62.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.935e-06/1.65, allocations: 2.734 kB / 0.7982 GB, free: 62.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03729/1.687, allocations: 15.7 MB / 0.8135 GB, free: 50.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/1.687, allocations: 128.7 kB / 0.8136 GB, free: 50.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.698, allocations: 5.097 MB / 0.8186 GB, free: 45.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.699, allocations: 97.7 kB / 0.8187 GB, free: 45.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004316/1.703, allocations: 5.892 MB / 0.8245 GB, free: 39.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00297/1.706, allocations: 1.586 MB / 0.826 GB, free: 37.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005593/1.712, allocations: 1.531 MB / 0.8275 GB, free: 36.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/1.712, allocations: 309 kB / 0.8278 GB, free: 35.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006972/1.719, allocations: 4.144 MB / 0.8318 GB, free: 31.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009052/1.728, allocations: 7.26 MB / 0.8389 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/1.743, allocations: 11.93 MB / 0.8506 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.744, allocations: 28 kB / 0.8506 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.028/1.772, allocations: 13.1 MB / 0.8634 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/1.772, allocations: 52 kB / 0.8635 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002627/1.772, allocations: 100.8 kB / 0.8636 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/1.78, allocations: 3.098 MB / 0.8666 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006674/1.786, allocations: 1.594 MB / 0.8681 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.788, allocations: 338.6 kB / 0.8685 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007769/1.795, allocations: 1.069 MB / 0.8695 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/1.797, allocations: 380 kB / 0.8699 GB, free: 6.973 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.01409/1.812, allocations: 5.387 MB / 0.8751 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002462/1.814, allocations: 0.4977 MB / 0.8756 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02499/1.839, allocations: 9.63 MB / 0.885 GB, free: 7.527 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/1.839, allocations: 44 kB / 0.8851 GB, free: 7.484 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.839, allocations: 6.562 kB / 0.8851 GB, free: 7.48 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001214/1.839, allocations: 27.91 kB / 0.8851 GB, free: 7.453 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0502/1.89, allocations: 20.8 MB / 0.9054 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.89, allocations: 0 / 0.9054 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.893, allocations: 0.7312 MB / 0.9061 GB, free: 2.008 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006823/1.9, allocations: 2.976 MB / 0.909 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009776/1.901, allocations: 95.97 kB / 0.9091 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006683/1.902, allocations: 142.5 kB / 0.9093 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.902, allocations: 0 / 0.9093 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02639/1.928, allocations: 14.2 MB / 0.9231 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.302/2.23, allocations: 1.362 MB / 0.9245 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/2.231, allocations: 76.66 kB / 0.9245 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/2.235, allocations: 380.5 kB / 0.9249 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008591/2.236, allocations: 313.9 kB / 0.9252 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003613/2.236, allocations: 129.8 kB / 0.9253 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006439/2.242, allocations: 3.425 MB / 0.9287 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.81e-07/2.242, allocations: 0 / 0.9287 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0098/2.252, allocations: 3.19 MB / 0.9318 GB, free: 218.3 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.001155/2.253, allocations: 253.5 kB / 0.932 GB, free: 218.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01757/2.271, allocations: 9.884 MB / 0.9417 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/2.271, allocations: 3.781 kB / 0.9417 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008313/2.279, allocations: 4.441 MB / 0.946 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006431/2.286, allocations: 1.192 MB / 0.9472 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04363/2.329, allocations: 29.52 MB / 0.976 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/2.342, allocations: 8.715 MB / 0.9845 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/2.344, allocations: 433.3 kB / 0.9849 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/2.344, allocations: 0 / 0.9849 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.8466/3.191, allocations: 382.1 MB / 1.358 GB, free: 195.5 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