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.0007063/0.0007063, allocations: 92.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008271/0.0008273, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 246.8 MB, free: 9.746 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002196/0.0002196, allocations: 7.938 kB / 307.8 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09232, allocations: 51.52 MB / 359.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01293/0.1053, allocations: 12.95 MB / 372.2 MB, free: 48 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.2858, allocations: 3.78 MB / 376 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.287, allocations: 93.34 kB / 376.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.2885, allocations: 0.7912 MB / 376.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.2917, allocations: 1.199 MB / 378.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.294, allocations: 1.123 MB / 379.2 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006366/0.3003, allocations: 6.179 MB / 385.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01934/0.3197, allocations: 14.15 MB / 399.5 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.3237, allocations: 2.337 MB / 401.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.3279, allocations: 2.927 MB / 404.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006626/0.3286, allocations: 376 kB / 405.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.3302, allocations: 0.5687 MB / 405.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009078/0.3311, allocations: 1.122 MB / 406.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002951/0.3341, allocations: 2.857 MB / 409.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009986/0.3441, allocations: 11.25 MB / 421 MB, free: 11.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3441, allocations: 0 / 421 MB, free: 11.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3441, allocations: 0 / 421 MB, free: 11.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.3443, allocations: 0 / 421 MB, free: 11.42 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.01582/0.3601, allocations: 6.505 MB / 427.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3602, allocations: 12.03 kB / 427.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.3794, allocations: 2.928 MB / 430.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006565/0.386, allocations: 3.632 MB / 434 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/0.3864, allocations: 476.2 kB / 434.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/0.3882, allocations: 0.6237 MB / 435.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.4065, allocations: 9.32 MB / 444.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.4066, allocations: 11.89 kB / 444.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006364/0.4073, allocations: 266.5 kB / 444.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000312/0.4076, allocations: 325.4 kB / 445 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4216, allocations: 7.954 MB / 453 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04004/0.4617, allocations: 29.13 MB / 482.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4729, allocations: 11.7 MB / 493.8 MB, free: 28 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/0.4753, allocations: 1.605 MB / 495.4 MB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.4756, allocations: 220.5 kB / 495.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.4757, allocations: 60.56 kB / 495.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.068e-06/0.4757, allocations: 0 / 495.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007978/0.4837, allocations: 4.186 MB / 499.9 MB, free: 9.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.4838, allocations: 103.1 kB / 500 MB, free: 9.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.4869, allocations: 1.895 MB / 0.4901 GB, free: 7.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.487, allocations: 65.7 kB / 0.4902 GB, free: 7.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.4885, allocations: 2.539 MB / 0.4927 GB, free: 5.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/0.4892, allocations: 0.8161 MB / 0.4935 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.4895, allocations: 273 kB / 0.4937 GB, free: 4.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.4896, allocations: 301.1 kB / 0.494 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.4916, allocations: 1.408 MB / 0.4954 GB, free: 2.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.4943, allocations: 2.599 MB / 0.4979 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.4991, allocations: 4.234 MB / 0.5021 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.4991, allocations: 11.94 kB / 0.5021 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006739/0.5059, allocations: 4.518 MB / 0.5065 GB, free: 5.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.5059, allocations: 20 kB / 0.5065 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.506, allocations: 40 kB / 0.5065 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/0.5067, allocations: 313 kB / 0.5068 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.5093, allocations: 0.7722 MB / 0.5076 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.5142, allocations: 4.644 MB / 0.5121 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.5162, allocations: 412 kB / 0.5125 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.5164, allocations: 164 kB / 0.5127 GB, free: 15.37 MB / 446.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.003284/0.5197, allocations: 2.183 MB / 0.5148 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.5201, allocations: 205.4 kB / 0.515 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/0.5252, allocations: 3.185 MB / 0.5181 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5252, allocations: 24 kB / 0.5181 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5253, allocations: 11.98 kB / 0.5181 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.5253, allocations: 15.95 kB / 0.5182 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1948/0.7201, allocations: 12.65 MB / 0.5305 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/0.7201, allocations: 17.58 kB / 0.5305 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.7219, allocations: 436.9 kB / 0.5309 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007506/0.7226, allocations: 285.3 kB / 0.5312 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/0.7229, allocations: 64.34 kB / 0.5313 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.7274, allocations: 4.557 MB / 0.5357 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/0.7275, allocations: 27.28 kB / 0.5358 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006732/0.7342, allocations: 4.996 MB / 0.5406 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009057/0.7351, allocations: 0.5387 MB / 0.5412 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000372/0.7355, allocations: 69 kB / 0.5412 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.737, allocations: 122.2 kB / 0.5413 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/0.7373, allocations: 208.5 kB / 0.5415 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.7375, allocations: 84.83 kB / 0.5416 GB, free: 126.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002143/0.7396, allocations: 1.288 MB / 0.5429 GB, free: 126 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7397, allocations: 0 / 0.5429 GB, free: 126 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00378/0.7434, allocations: 1.44 MB / 0.5443 GB, free: 125.5 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.0004463/0.7439, allocations: 221.8 kB / 0.5445 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005254/0.7492, allocations: 3.625 MB / 0.548 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.7492, allocations: 3.969 kB / 0.548 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.7511, allocations: 1.694 MB / 0.5497 GB, free: 123.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/0.7565, allocations: 0.4923 MB / 0.5502 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.7706, allocations: 12.65 MB / 0.5625 GB, free: 115.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/0.7738, allocations: 4.006 MB / 0.5664 GB, free: 114.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003102/0.777, allocations: 1.198 MB / 0.5676 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.7775, allocations: 185.7 kB / 0.5678 GB, free: 113.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7775, allocations: 0 / 0.5678 GB, free: 113.9 MB / 446.1 MB Notification: Performance of Templates: time 0.0414/0.8189, allocations: 29.59 MB / 0.5967 GB, free: 88.08 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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