Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 103.9 kB / 18.39 MB, free: 4.527 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.001256/0.001256, allocations: 190.5 kB / 19.33 MB, free: 3.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08671, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.2258/0.3126, allocations: 9.704 MB / 385.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006775/0.3194, allocations: 2.747 MB / 388.3 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.3217, allocations: 59.22 kB / 388.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00879/0.3305, allocations: 3.76 MB / 392.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005201/0.3358, allocations: 1.067 MB / 393.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3382, allocations: 0.8135 MB / 394 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005477/0.3437, allocations: 3.914 MB / 397.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/0.3604, allocations: 9.571 MB / 407.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.3659, allocations: 2.209 MB / 409.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005637/0.3715, allocations: 2.548 MB / 412.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.3738, allocations: 0.6033 MB / 412.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.3775, allocations: 0.8183 MB / 413.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.3801, allocations: 1.203 MB / 414.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005309/0.3854, allocations: 2.425 MB / 417.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3967, allocations: 8.125 MB / 425.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3968, allocations: 0 / 425.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3968, allocations: 4 kB / 425.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003586/0.3971, allocations: 0 / 425.4 MB, free: 14.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01569/0.4128, allocations: 5.163 MB / 430.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4129, allocations: 8.031 kB / 430.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.4282, allocations: 2.567 MB / 433.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005058/0.4333, allocations: 2.17 MB / 435.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.4337, allocations: 333.1 kB / 435.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.4349, allocations: 439.9 kB / 436.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.4467, allocations: 6.114 MB / 442.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.822e-05/0.4468, allocations: 0 / 442.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004329/0.4473, allocations: 180 kB / 442.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.4475, allocations: 217.3 kB / 442.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009749/0.4572, allocations: 5.783 MB / 448.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/0.4898, allocations: 21.15 MB / 469.5 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008595/0.4984, allocations: 8.943 MB / 478.4 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.5001, allocations: 0.9765 MB / 479.4 MB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005398/0.5055, allocations: 3.546 MB / 483 MB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5056, allocations: 34.73 kB / 483 MB, free: 1.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.726e-06/0.5056, allocations: 4 kB / 483 MB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001059/0.5067, allocations: 0.6514 MB / 483.6 MB, free: 1.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5067, allocations: 59.41 kB / 483.7 MB, free: 1.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.5093, allocations: 1.983 MB / 485.7 MB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.5093, allocations: 33.64 kB / 485.7 MB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.5106, allocations: 2.181 MB / 487.9 MB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.5107, allocations: 150.5 kB / 488 MB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006813/0.5114, allocations: 0.5392 MB / 488.6 MB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5116, allocations: 357.9 kB / 488.9 MB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.5127, allocations: 0.8715 MB / 489.8 MB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.5147, allocations: 2.239 MB / 492 MB, free: 8.047 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.5177, allocations: 3.071 MB / 495.1 MB, free: 4.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/0.5178, allocations: 16 kB / 495.1 MB, free: 4.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004487/0.5223, allocations: 3.117 MB / 498.2 MB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.5223, allocations: 32.72 kB / 498.3 MB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-05/0.5224, allocations: 52.84 kB / 498.3 MB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.881e-05/0.5225, allocations: 64 kB / 498.4 MB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.5241, allocations: 0.5966 MB / 499 MB, free: 428 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.59e-05/0.5242, allocations: 95.64 kB / 499.1 MB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.5261, allocations: 408.2 kB / 499.5 MB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.5263, allocations: 148 kB / 499.6 MB, free: 15.78 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002379/0.5286, allocations: 1.554 MB / 0.4894 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.5289, allocations: 138.2 kB / 0.4896 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.53, allocations: 0.6172 MB / 0.4902 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003982/0.5304, allocations: 317.5 kB / 0.4905 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5304, allocations: 0 / 0.4905 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5304, allocations: 0 / 0.4905 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/0.5362, allocations: 3.964 MB / 0.4943 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5363, allocations: 12.53 kB / 0.4944 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.5365, allocations: 55.91 kB / 0.4944 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.5366, allocations: 12 kB / 0.4944 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.5366, allocations: 8 kB / 0.4944 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.5366, allocations: 4 kB / 0.4944 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5366, allocations: 11.92 kB / 0.4944 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.5378, allocations: 0.8851 MB / 0.4953 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.5383, allocations: 255.3 kB / 0.4956 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.5385, allocations: 19.97 kB / 0.4956 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/0.539, allocations: 44.02 kB / 0.4956 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.5391, allocations: 39.77 kB / 0.4957 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.5391, allocations: 12 kB / 0.4957 GB, free: 7.535 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.541, allocations: 1.343 MB / 0.497 GB, free: 6.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.541, allocations: 7.938 kB / 0.497 GB, free: 6.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002895/0.5439, allocations: 0.9284 MB / 0.4979 GB, free: 5.254 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003614/0.5443, allocations: 151.1 kB / 0.498 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.5469, allocations: 1.666 MB / 0.4997 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.547, allocations: 4.062 kB / 0.4997 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.5472, allocations: 179.6 kB / 0.4998 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.549, allocations: 306.8 kB / 0.5001 GB, free: 2.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5598, allocations: 5.809 MB / 0.5058 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/0.5622, allocations: 2.82 MB / 0.5086 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.5627, allocations: 135.4 kB / 0.5087 GB, free: 10.07 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5627, allocations: 0 / 0.5087 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Templates: time 0.05558/0.6183, allocations: 37.72 MB / 0.5455 GB, free: 4.285 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches