Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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) 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(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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 103 kB / 17.74 MB, free: 5.316 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.001147/0.001147, allocations: 198.5 kB / 18.67 MB, free: 4.395 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2214, allocations: 49.44 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01341/0.2348, allocations: 13.92 MB / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.2416, allocations: 3.773 MB / 419.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.2435, allocations: 99.75 kB / 419.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.2555, allocations: 5.583 MB / 424.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.2608, allocations: 1.515 MB / 426.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.2639, allocations: 1.061 MB / 427.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007622/0.2715, allocations: 6.292 MB / 433.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01814/0.2897, allocations: 13.66 MB / 447.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.2944, allocations: 3.288 MB / 450.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005423/0.2998, allocations: 3.854 MB / 454.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00203/0.3019, allocations: 0.8867 MB / 455.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.3048, allocations: 1.07 MB / 456.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.307, allocations: 1.769 MB / 458.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003906/0.3109, allocations: 3.564 MB / 461.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009705/0.3206, allocations: 11.94 MB / 473.7 MB, free: 292 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3206, allocations: 0 / 473.7 MB, free: 292 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3206, allocations: 0 / 473.7 MB, free: 292 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002216/0.3209, allocations: 0 / 473.7 MB, free: 292 kB / 382.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.01917/0.34, allocations: 7.781 MB / 481.5 MB, free: 8.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3401, allocations: 8.031 kB / 481.5 MB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.3588, allocations: 2.881 MB / 484.4 MB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008104/0.367, allocations: 3.733 MB / 488.1 MB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/0.3674, allocations: 485 kB / 488.6 MB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.3693, allocations: 0.6248 MB / 489.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.39, allocations: 9.314 MB / 498.5 MB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/0.3903, allocations: 7.906 kB / 498.5 MB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.3918, allocations: 272 kB / 498.8 MB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/0.3921, allocations: 313.4 kB / 499.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.4079, allocations: 7.954 MB / 0.4952 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04449/0.4524, allocations: 28.2 MB / 0.5227 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.4636, allocations: 11.7 MB / 0.5341 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.4662, allocations: 1.63 MB / 0.5357 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.4665, allocations: 131 kB / 0.5359 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.4665, allocations: 60.56 kB / 0.5359 GB, free: 2.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.328e-06/0.4665, allocations: 4 kB / 0.5359 GB, free: 2.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.1941/0.6607, allocations: 4.153 MB / 0.54 GB, free: 124.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.6607, allocations: 101.9 kB / 0.5401 GB, free: 124.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.6629, allocations: 1.913 MB / 0.5419 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.663, allocations: 65.47 kB / 0.542 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/0.6638, allocations: 2.541 MB / 0.5445 GB, free: 122.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.6642, allocations: 0.81 MB / 0.5453 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000743/0.665, allocations: 0.6644 MB / 0.5459 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.665, allocations: 301.1 kB / 0.5462 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.6666, allocations: 1.404 MB / 0.5476 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.6687, allocations: 2.594 MB / 0.5501 GB, free: 118.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.6725, allocations: 4.233 MB / 0.5542 GB, free: 115.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.6725, allocations: 11.72 kB / 0.5543 GB, free: 115.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005209/0.6777, allocations: 4.517 MB / 0.5587 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.6777, allocations: 26.97 kB / 0.5587 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.6778, allocations: 35.72 kB / 0.5587 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.6784, allocations: 309.5 kB / 0.559 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.6808, allocations: 0.7809 MB / 0.5598 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.6848, allocations: 5.033 MB / 0.5647 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.6865, allocations: 413.3 kB / 0.5651 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.6867, allocations: 168.2 kB / 0.5653 GB, free: 109.5 MB / 462.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.002393/0.6891, allocations: 2.194 MB / 0.5674 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.6894, allocations: 205.4 kB / 0.5676 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.6935, allocations: 3.182 MB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.6935, allocations: 14.34 kB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6935, allocations: 4 kB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.6943, allocations: 0.5059 MB / 0.5712 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.6945, allocations: 47.55 kB / 0.5713 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/0.6955, allocations: 109.3 kB / 0.5714 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.6958, allocations: 155.5 kB / 0.5715 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004271/0.7001, allocations: 2.985 MB / 0.5744 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004037/0.7041, allocations: 3.974 MB / 0.5783 GB, free: 97.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001093/0.7052, allocations: 1.123 MB / 0.5794 GB, free: 96.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.7065, allocations: 1.291 MB / 0.5807 GB, free: 94.79 MB / 462.1 MB Notification: Performance of Backend: time 2.31e-07/0.7065, allocations: 0 / 0.5807 GB, free: 94.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.7104, allocations: 2.826 MB / 0.5834 GB, free: 91.98 MB / 462.1 MB Notification: Performance of SimCode: time 0.01137/0.7218, allocations: 9.404 MB / 0.5926 GB, free: 82.54 MB / 462.1 MB Notification: Performance of Templates: time 0.05217/0.774, allocations: 40.18 MB / 0.6318 GB, free: 42.54 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches