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.001344/0.001344, allocations: 107.7 kB / 17.06 MB, free: 6.023 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.001516/0.001516, allocations: 191 kB / 18 MB, free: 5.105 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2443, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01335/0.2577, allocations: 13.94 MB / 414.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006975/0.2647, allocations: 3.765 MB / 418.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.266, allocations: 99.75 kB / 418.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.2772, allocations: 5.574 MB / 424.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.2828, allocations: 1.523 MB / 425.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.2857, allocations: 1.061 MB / 426.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007689/0.2934, allocations: 6.292 MB / 433 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01685/0.3103, allocations: 13.66 MB / 446.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.3145, allocations: 3.288 MB / 449.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.3196, allocations: 3.854 MB / 453.8 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.3211, allocations: 0.8867 MB / 454.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.3233, allocations: 1.07 MB / 455.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00203/0.3254, allocations: 1.765 MB / 457.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0048/0.3302, allocations: 3.572 MB / 461.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.3417, allocations: 11.94 MB / 473 MB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3417, allocations: 0 / 473 MB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3417, allocations: 0 / 473 MB, free: 308 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003359/0.3421, allocations: 0 / 473 MB, free: 308 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.02125/0.3633, allocations: 7.777 MB / 480.8 MB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/0.3634, allocations: 12.03 kB / 480.8 MB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.3817, allocations: 2.881 MB / 483.7 MB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007749/0.3895, allocations: 3.733 MB / 487.4 MB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.3898, allocations: 485 kB / 487.9 MB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.3916, allocations: 0.6248 MB / 488.5 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.4094, allocations: 9.31 MB / 497.8 MB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.4096, allocations: 11.91 kB / 497.8 MB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006298/0.4102, allocations: 264 kB / 498.1 MB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/0.4105, allocations: 313.4 kB / 498.4 MB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.4242, allocations: 7.958 MB / 0.4945 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04117/0.4654, allocations: 28.2 MB / 0.522 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.4758, allocations: 11.71 MB / 0.5335 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.4783, allocations: 1.622 MB / 0.535 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.4785, allocations: 131 kB / 0.5352 GB, free: 2.508 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.4786, allocations: 68.55 kB / 0.5352 GB, free: 2.434 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.128e-06/0.4786, allocations: 0 / 0.5352 GB, free: 2.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2197/0.6983, allocations: 4.162 MB / 0.5393 GB, free: 124.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.6984, allocations: 102.8 kB / 0.5394 GB, free: 124.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.7006, allocations: 1.909 MB / 0.5413 GB, free: 124.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.7008, allocations: 69.44 kB / 0.5413 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.7016, allocations: 2.535 MB / 0.5438 GB, free: 122.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.7021, allocations: 0.8101 MB / 0.5446 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007774/0.7029, allocations: 0.6717 MB / 0.5453 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.7029, allocations: 301.1 kB / 0.5455 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.7046, allocations: 1.402 MB / 0.5469 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.707, allocations: 2.594 MB / 0.5494 GB, free: 118.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/0.7113, allocations: 4.234 MB / 0.5536 GB, free: 115.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.7113, allocations: 11.47 kB / 0.5536 GB, free: 115.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005545/0.7169, allocations: 4.517 MB / 0.558 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.7169, allocations: 21.31 kB / 0.558 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.7169, allocations: 38.28 kB / 0.5581 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.7176, allocations: 313.9 kB / 0.5584 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.7199, allocations: 0.7773 MB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.7237, allocations: 5.042 MB / 0.564 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.7254, allocations: 413.2 kB / 0.5644 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.7256, allocations: 155 kB / 0.5646 GB, free: 109.6 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.002498/0.7281, allocations: 2.197 MB / 0.5667 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.7284, allocations: 209.4 kB / 0.5669 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.7323, allocations: 3.186 MB / 0.57 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.7323, allocations: 24 kB / 0.5701 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7323, allocations: 8 kB / 0.5701 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.7323, allocations: 11.72 kB / 0.5701 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.7444, allocations: 11.74 MB / 0.5815 GB, free: 92.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.7445, allocations: 16 kB / 0.5816 GB, free: 92.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.7459, allocations: 439.3 kB / 0.582 GB, free: 92.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005536/0.7465, allocations: 278.2 kB / 0.5822 GB, free: 92.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.7466, allocations: 67.98 kB / 0.5823 GB, free: 92.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.7503, allocations: 4.98 MB / 0.5872 GB, free: 86.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.7504, allocations: 19.94 kB / 0.5872 GB, free: 86.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.7554, allocations: 4.997 MB / 0.5921 GB, free: 81.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.7562, allocations: 0.529 MB / 0.5926 GB, free: 81.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.7564, allocations: 59.98 kB / 0.5926 GB, free: 80.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7575, allocations: 123.9 kB / 0.5928 GB, free: 80.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.7577, allocations: 201.3 kB / 0.593 GB, free: 80.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.7579, allocations: 86.61 kB / 0.593 GB, free: 80.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.7592, allocations: 1.294 MB / 0.5943 GB, free: 79.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7592, allocations: 4 kB / 0.5943 GB, free: 79.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003186/0.7624, allocations: 1.433 MB / 0.5957 GB, free: 77.86 MB / 462.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.0003175/0.7627, allocations: 218.5 kB / 0.5959 GB, free: 77.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.7669, allocations: 3.656 MB / 0.5995 GB, free: 73.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.7669, allocations: 8.875 kB / 0.5995 GB, free: 73.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.7687, allocations: 1.687 MB / 0.6011 GB, free: 72.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.7711, allocations: 0.5211 MB / 0.6016 GB, free: 71.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.7846, allocations: 9.883 MB / 0.6113 GB, free: 61.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/0.7875, allocations: 4.004 MB / 0.6152 GB, free: 57.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002583/0.7901, allocations: 1.195 MB / 0.6164 GB, free: 56.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.7906, allocations: 187.4 kB / 0.6166 GB, free: 56.24 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7907, allocations: 0 / 0.6166 GB, free: 56.24 MB / 462.1 MB Notification: Performance of Templates: time 0.04839/0.839, allocations: 31.86 MB / 0.6477 GB, free: 24.55 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/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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches