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.001048/0.001048, 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.001242/0.001242, 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.201/1.201, allocations: 227.4 MB / 247.1 MB, free: 8.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 58.34 kB / 307.1 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.0776, allocations: 50.54 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01245/0.09009, allocations: 13.72 MB / 371.4 MB, free: 392 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1319/0.222, allocations: 3.804 MB / 375.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.2228, allocations: 96.72 kB / 375.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008174/0.231, allocations: 5.278 MB / 380.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.2337, allocations: 1.206 MB / 381.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.2357, allocations: 1.116 MB / 382.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.2409, allocations: 6.323 MB / 389.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/0.2564, allocations: 15.95 MB / 405.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.2603, allocations: 3.324 MB / 408.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.264, allocations: 3.875 MB / 412.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009846/0.265, allocations: 0.8867 MB / 413.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.2667, allocations: 1.087 MB / 414.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.2679, allocations: 1.782 MB / 416.1 MB, free: 280 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003005/0.2709, allocations: 3.566 MB / 419.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.2781, allocations: 10.35 MB / 430 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2781, allocations: 7.938 kB / 430 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2781, allocations: 0 / 430 MB, free: 2.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001469/0.2783, allocations: 0 / 430 MB, free: 2.586 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.01499/0.2933, allocations: 7.811 MB / 437.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.2933, allocations: 12.03 kB / 437.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.3102, allocations: 2.916 MB / 440.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/0.3151, allocations: 3.609 MB / 444.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.3154, allocations: 480.7 kB / 444.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000879/0.3163, allocations: 0.6183 MB / 445.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.3302, allocations: 9.331 MB / 454.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.3303, allocations: 15.84 kB / 454.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005805/0.3309, allocations: 260.6 kB / 455.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/0.3312, allocations: 317.4 kB / 455.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.3424, allocations: 7.954 MB / 463.3 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03276/0.3752, allocations: 29.04 MB / 492.4 MB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009259/0.3845, allocations: 11.71 MB / 0.4923 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.3864, allocations: 1.614 MB / 0.4938 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.3867, allocations: 219.5 kB / 0.494 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3867, allocations: 64.86 kB / 0.4941 GB, free: 4.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.968e-06/0.3867, allocations: 0 / 0.4941 GB, free: 4.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.006701/0.3934, allocations: 4.166 MB / 0.4982 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3935, allocations: 107.1 kB / 0.4983 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3956, allocations: 1.895 MB / 0.5001 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.3957, allocations: 69.7 kB / 0.5002 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.397, allocations: 2.534 MB / 0.5027 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000535/0.3975, allocations: 0.8156 MB / 0.5035 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008107/0.3983, allocations: 0.6559 MB / 0.5041 GB, free: 9.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.3984, allocations: 301.1 kB / 0.5044 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4002, allocations: 1.404 MB / 0.5058 GB, free: 8.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.4026, allocations: 2.599 MB / 0.5083 GB, free: 4.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.4069, allocations: 4.23 MB / 0.5124 GB, free: 152 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.4069, allocations: 12 kB / 0.5124 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005745/0.4127, allocations: 4.518 MB / 0.5169 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4127, allocations: 20 kB / 0.5169 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.4128, allocations: 36.62 kB / 0.5169 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/0.4134, allocations: 317.5 kB / 0.5172 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.4158, allocations: 0.7722 MB / 0.518 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.4203, allocations: 5.055 MB / 0.5229 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.422, allocations: 412 kB / 0.5233 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.4222, allocations: 160 kB / 0.5235 GB, free: 4.578 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.002377/0.4246, allocations: 2.202 MB / 0.5256 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.4249, allocations: 201.5 kB / 0.5258 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.135/0.5599, allocations: 3.185 MB / 0.5289 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.56, allocations: 24.06 kB / 0.5289 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.56, allocations: 5.375 kB / 0.5289 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.071e-05/0.56, allocations: 16.06 kB / 0.529 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.5739, allocations: 12.67 MB / 0.5413 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.5739, allocations: 14.78 kB / 0.5413 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.5754, allocations: 442.6 kB / 0.5418 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.576, allocations: 282.5 kB / 0.542 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.5761, allocations: 66.44 kB / 0.5421 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003611/0.5797, allocations: 4.98 MB / 0.547 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.5798, allocations: 24 kB / 0.547 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004988/0.5847, allocations: 4.989 MB / 0.5518 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/0.5854, allocations: 0.5354 MB / 0.5524 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5857, allocations: 60.8 kB / 0.5524 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5867, allocations: 123.4 kB / 0.5525 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.587, allocations: 205.1 kB / 0.5527 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5871, allocations: 83.3 kB / 0.5528 GB, free: 122.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.5883, allocations: 1.294 MB / 0.5541 GB, free: 121.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.5883, allocations: 7.516 kB / 0.5541 GB, free: 121.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002745/0.5911, allocations: 1.435 MB / 0.5555 GB, free: 121.4 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.0002871/0.5913, allocations: 228.7 kB / 0.5557 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004906/0.5963, allocations: 4.15 MB / 0.5598 GB, free: 119.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5963, allocations: 8.031 kB / 0.5598 GB, free: 119.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.5978, allocations: 1.687 MB / 0.5614 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.5999, allocations: 0.5056 MB / 0.5619 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6102, allocations: 12.47 MB / 0.5741 GB, free: 111.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/0.6125, allocations: 3.897 MB / 0.5779 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/0.6131, allocations: 222.5 kB / 0.5781 GB, free: 108.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6131, allocations: 0 / 0.5781 GB, free: 108.3 MB / 446.1 MB Notification: Performance of Templates: time 1.255/1.868, allocations: 123.7 MB / 0.6989 GB, free: 142.7 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