Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 105.3 kB / 17.16 MB, free: 6.082 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.00197/0.00197, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.458/2.458, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 51.78 kB / 300.6 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1406, allocations: 49.44 MB / 350.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01772/0.1584, allocations: 9.022 MB / 359.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008759/0.1672, allocations: 2.57 MB / 361.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.1695, allocations: 67.81 kB / 361.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.1829, allocations: 3.542 MB / 365.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005428/0.1883, allocations: 0.8087 MB / 366.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.1916, allocations: 0.7424 MB / 366.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006394/0.1981, allocations: 3.454 MB / 370.3 MB, free: 372 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2842/0.4823, allocations: 8.026 MB / 378.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007356/0.4898, allocations: 1.878 MB / 380.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00787/0.4977, allocations: 2.315 MB / 382.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003761/0.5016, allocations: 461.3 kB / 382.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.5078, allocations: 0.6578 MB / 383.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003428/0.5113, allocations: 0.9681 MB / 384.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007895/0.5193, allocations: 2.13 MB / 386.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.5307, allocations: 6.828 MB / 393.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.5308, allocations: 0 / 393.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5308, allocations: 1.375 kB / 393.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003196/0.5311, allocations: 0 / 393.5 MB, free: 1.453 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.0206/0.5518, allocations: 4.873 MB / 398.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/0.5519, allocations: 10.16 kB / 398.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009268/0.5611, allocations: 1.264 MB / 399.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/0.5689, allocations: 2.232 MB / 401.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008388/0.5698, allocations: 311.3 kB / 402.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/0.573, allocations: 416.8 kB / 402.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02772/0.6008, allocations: 5.495 MB / 408.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.6011, allocations: 3.75 kB / 408.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001933/0.603, allocations: 168 kB / 408.3 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/0.6033, allocations: 180.6 kB / 408.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.624, allocations: 4.816 MB / 413.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05597/0.6801, allocations: 19.31 MB / 432.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008717/0.6889, allocations: 3.933 MB / 436.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.6913, allocations: 0.8148 MB / 437.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.6917, allocations: 116 kB / 437.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/0.6918, allocations: 51.5 kB / 437.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 8.025e-06/0.6918, allocations: 0 / 437.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.004531/0.6963, allocations: 1.677 MB / 439.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6965, allocations: 60.41 kB / 439.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/0.7003, allocations: 1.334 MB / 440.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.7006, allocations: 41.7 kB / 440.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.7026, allocations: 1.746 MB / 442.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006973/0.7033, allocations: 385.8 kB / 442.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.7048, allocations: 455.5 kB / 443.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003007/0.7051, allocations: 349.9 kB / 443.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.7072, allocations: 0.8734 MB / 444.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/0.7109, allocations: 1.86 MB / 446.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.7173, allocations: 2.875 MB / 449.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.7174, allocations: 12 kB / 449.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.007725/0.7252, allocations: 2.812 MB / 451.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.7253, allocations: 23.94 kB / 452 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-05/0.7254, allocations: 36 kB / 452 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.332e-05/0.7255, allocations: 47.98 kB / 452 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.7275, allocations: 0.5199 MB / 452.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/0.7276, allocations: 65.28 kB / 452.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.7298, allocations: 297.2 kB / 452.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.73, allocations: 116 kB / 453 MB, free: 8.367 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004601/0.7346, allocations: 1.485 MB / 454.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.7353, allocations: 122.4 kB / 454.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/0.7389, allocations: 1.547 MB / 456.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002633/0.7416, allocations: 1.114 MB / 457.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.7416, allocations: 0 / 457.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.7417, allocations: 3.984 kB / 457.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03531/0.777, allocations: 12.39 MB / 469.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001007/0.7772, allocations: 24 kB / 469.7 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.7788, allocations: 230.3 kB / 469.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.718e-05/0.7789, allocations: 28 kB / 470 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/0.7792, allocations: 48 kB / 470 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.579e-05/0.7793, allocations: 43.3 kB / 470.1 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.53e-05/0.7793, allocations: 39.09 kB / 470.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007403/0.7868, allocations: 2.793 MB / 472.9 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.7883, allocations: 339.2 kB / 473.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006905/0.7891, allocations: 47.98 kB / 473.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/0.7913, allocations: 71.88 kB / 473.3 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/0.7918, allocations: 150 kB / 473.5 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/0.7921, allocations: 56 kB / 473.5 MB, free: 3.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003396/0.7955, allocations: 0.9101 MB / 474.4 MB, free: 2.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.7956, allocations: 0 / 474.4 MB, free: 2.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006576/0.8022, allocations: 0.8701 MB / 475.3 MB, free: 1.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.8033, allocations: 231.2 kB / 475.5 MB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005679/0.809, allocations: 1.95 MB / 477.5 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.755e-05/0.8091, allocations: 8.125 kB / 477.5 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.8112, allocations: 0.6746 MB / 478.2 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/0.8157, allocations: 335.2 kB / 478.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/0.8384, allocations: 8.01 MB / 486.5 MB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006217/0.8447, allocations: 2.739 MB / 489.2 MB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/0.8457, allocations: 131.4 kB / 489.4 MB, free: 3.148 MB / 398.1 MB Notification: Performance of SimCode: time 1.363e-06/0.8458, allocations: 0 / 489.4 MB, free: 3.148 MB / 398.1 MB Notification: Performance of Templates: time 0.08817/0.9339, allocations: 35.57 MB / 0.5126 GB, free: 15.69 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches