Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000817/0.000817, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008939/0.0008939, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 4 kB / 308.4 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09471, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01267/0.1074, allocations: 12.95 MB / 372.9 MB, free: 252 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1762/0.2837, allocations: 3.773 MB / 376.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.2859, allocations: 98.5 kB / 376.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.2881, allocations: 0.787 MB / 377.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.2927, allocations: 1.199 MB / 378.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.2955, allocations: 1.123 MB / 379.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007332/0.3028, allocations: 6.18 MB / 386 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01971/0.3226, allocations: 14.15 MB / 400.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.3263, allocations: 2.34 MB / 402.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004204/0.3305, allocations: 2.919 MB / 405.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00068/0.3312, allocations: 382.1 kB / 405.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.3328, allocations: 0.5693 MB / 406.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000911/0.3337, allocations: 1.121 MB / 407.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.3366, allocations: 2.863 MB / 410.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009003/0.3457, allocations: 9.999 MB / 420.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3457, allocations: 0 / 420.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3457, allocations: 4 kB / 420.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.346, allocations: 4 kB / 420.4 MB, free: 12.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01632/0.3623, allocations: 6.507 MB / 426.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3624, allocations: 8.031 kB / 426.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/0.3813, allocations: 2.932 MB / 429.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007292/0.3887, allocations: 3.624 MB / 433.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.3892, allocations: 478.6 kB / 433.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.3912, allocations: 0.6232 MB / 434.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.4123, allocations: 9.324 MB / 443.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.4125, allocations: 11.91 kB / 443.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/0.4139, allocations: 259.7 kB / 444.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003363/0.4142, allocations: 325.4 kB / 444.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.4288, allocations: 7.95 MB / 452.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04453/0.4734, allocations: 29.14 MB / 481.5 MB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.4845, allocations: 11.7 MB / 493.2 MB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.4869, allocations: 1.605 MB / 494.8 MB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.4872, allocations: 216.1 kB / 495 MB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.4872, allocations: 64.88 kB / 495.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.058e-06/0.4872, allocations: 0 / 495.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007583/0.4948, allocations: 4.189 MB / 499.3 MB, free: 11.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.4949, allocations: 103.1 kB / 499.4 MB, free: 10.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.4975, allocations: 1.899 MB / 0.4895 GB, free: 9.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.4976, allocations: 65.7 kB / 0.4896 GB, free: 8.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.4991, allocations: 2.536 MB / 0.4921 GB, free: 6.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/0.4997, allocations: 0.8116 MB / 0.4929 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.5001, allocations: 277 kB / 0.4931 GB, free: 5.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5002, allocations: 301.1 kB / 0.4934 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.5022, allocations: 1.404 MB / 0.4948 GB, free: 3.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.5048, allocations: 2.595 MB / 0.4973 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/0.5096, allocations: 4.23 MB / 0.5015 GB, free: 11.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.5096, allocations: 12 kB / 0.5015 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006415/0.516, allocations: 4.522 MB / 0.5059 GB, free: 7.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.5161, allocations: 24 kB / 0.5059 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/0.5161, allocations: 36 kB / 0.5059 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/0.5169, allocations: 309.4 kB / 0.5062 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.5195, allocations: 0.7838 MB / 0.507 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.5243, allocations: 4.642 MB / 0.5115 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.5264, allocations: 412 kB / 0.5119 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.5267, allocations: 163.9 kB / 0.5121 GB, free: 0.5664 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003205/0.5299, allocations: 2.187 MB / 0.5142 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.5303, allocations: 209.4 kB / 0.5144 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/0.5353, allocations: 3.185 MB / 0.5175 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.5353, allocations: 28 kB / 0.5176 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.5353, allocations: 4.188 kB / 0.5176 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.5354, allocations: 11.95 kB / 0.5176 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1931/0.7285, allocations: 12.67 MB / 0.5299 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.371e-05/0.7285, allocations: 13.81 kB / 0.53 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.7303, allocations: 434.8 kB / 0.5304 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007081/0.731, allocations: 279.9 kB / 0.5306 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.7312, allocations: 63.69 kB / 0.5307 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.7356, allocations: 4.561 MB / 0.5352 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/0.7356, allocations: 25.73 kB / 0.5352 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007848/0.7435, allocations: 5.003 MB / 0.5401 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.7446, allocations: 0.5385 MB / 0.5406 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.7449, allocations: 61.12 kB / 0.5407 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.7463, allocations: 125.9 kB / 0.5408 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.7467, allocations: 205 kB / 0.541 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.7469, allocations: 86.41 kB / 0.5411 GB, free: 127.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001861/0.7487, allocations: 1.29 MB / 0.5423 GB, free: 126.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7487, allocations: 0 / 0.5423 GB, free: 126.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003774/0.7525, allocations: 1.437 MB / 0.5437 GB, free: 126.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004286/0.753, allocations: 212.3 kB / 0.5439 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00542/0.7584, allocations: 3.63 MB / 0.5475 GB, free: 124.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.7584, allocations: 2.781 kB / 0.5475 GB, free: 124.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.7605, allocations: 1.691 MB / 0.5491 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00531/0.7658, allocations: 0.5034 MB / 0.5496 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.7793, allocations: 12.5 MB / 0.5618 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.7821, allocations: 3.904 MB / 0.5656 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/0.7828, allocations: 218.3 kB / 0.5658 GB, free: 114.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7828, allocations: 0 / 0.5658 GB, free: 114.8 MB / 446.1 MB Notification: Performance of Templates: time 0.09382/0.8767, allocations: 123 MB / 0.6859 GB, free: 13.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches