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.001066/0.001066, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001002/0.001002, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.321/1.321, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001185/0.001185, allocations: 48.39 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08703, allocations: 46.64 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01025/0.09733, allocations: 9.7 MB / 338.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.1029, allocations: 2.742 MB / 341.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.104, allocations: 55.81 kB / 341.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007612/0.1116, allocations: 3.765 MB / 345 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.1148, allocations: 1.08 MB / 346.1 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.1165, allocations: 0.8025 MB / 346.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003953/0.1205, allocations: 3.914 MB / 350.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009737/0.1303, allocations: 9.553 MB / 360.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.1329, allocations: 2.221 MB / 362.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.1358, allocations: 2.542 MB / 365.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007018/0.1365, allocations: 0.6055 MB / 365.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1379, allocations: 0.8162 MB / 366.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008959/0.1388, allocations: 1.2 MB / 367.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.141, allocations: 2.424 MB / 370.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007061/0.148, allocations: 8.137 MB / 378.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1481, allocations: 0 / 378.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1481, allocations: 4 kB / 378.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001709/0.1482, allocations: 0 / 378.3 MB, free: 1.945 MB / 318.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.1583/0.3065, allocations: 5.155 MB / 383.4 MB, free: 48.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3066, allocations: 10.3 kB / 383.4 MB, free: 48.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.3219, allocations: 2.574 MB / 386 MB, free: 48.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/0.3276, allocations: 2.154 MB / 388.2 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.3279, allocations: 338.8 kB / 388.5 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/0.3289, allocations: 450.2 kB / 388.9 MB, free: 47.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.34, allocations: 6.102 MB / 395.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-05/0.3401, allocations: 6.75 kB / 395.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/0.3405, allocations: 183.4 kB / 395.2 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.3407, allocations: 221.4 kB / 395.5 MB, free: 43.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008176/0.3489, allocations: 5.782 MB / 401.2 MB, free: 39.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.3719, allocations: 21.15 MB / 422.4 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.3777, allocations: 8.954 MB / 431.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.379, allocations: 0.9727 MB / 432.3 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0045/0.3835, allocations: 3.545 MB / 435.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.3835, allocations: 42.73 kB / 435.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.3835, allocations: 0 / 435.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008699/0.3844, allocations: 0.6405 MB / 436.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3844, allocations: 55.41 kB / 436.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.3865, allocations: 1.986 MB / 438.6 MB, free: 8 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.3865, allocations: 29.7 kB / 438.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.3879, allocations: 2.181 MB / 440.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.388, allocations: 150.5 kB / 440.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007141/0.3887, allocations: 0.5431 MB / 441.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3889, allocations: 357.9 kB / 441.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.3901, allocations: 0.8715 MB / 442.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.3922, allocations: 2.25 MB / 444.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.3953, allocations: 3.063 MB / 448 MB, free: 5.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.3953, allocations: 12 kB / 448 MB, free: 5.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004569/0.3999, allocations: 3.125 MB / 451.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.3999, allocations: 24 kB / 451.2 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/0.4, allocations: 51.98 kB / 451.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.314e-05/0.4, allocations: 64.78 kB / 451.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.4018, allocations: 0.5927 MB / 451.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-05/0.4019, allocations: 95.66 kB / 452 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.4039, allocations: 412.1 kB / 452.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4041, allocations: 144 kB / 452.5 MB, free: 0.6523 MB / 334.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.00236/0.4064, allocations: 1.562 MB / 454.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.4067, allocations: 134.3 kB / 454.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.4077, allocations: 0.6056 MB / 454.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003996/0.4081, allocations: 321.4 kB / 455.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4081, allocations: 0 / 455.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.4081, allocations: 4 kB / 455.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.4138, allocations: 3.976 MB / 459.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4138, allocations: 4 kB / 459.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.4141, allocations: 56.5 kB / 459.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.4141, allocations: 8 kB / 459.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4141, allocations: 12 kB / 459.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.4141, allocations: 15.92 kB / 459.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4142, allocations: 4 kB / 459.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4152, allocations: 0.8997 MB / 460.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.4157, allocations: 255.3 kB / 460.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4158, allocations: 15.98 kB / 460.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.4164, allocations: 44.02 kB / 460.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4165, allocations: 35.78 kB / 460.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4165, allocations: 16 kB / 460.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.4183, allocations: 1.331 MB / 461.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4183, allocations: 0 / 461.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002825/0.4211, allocations: 0.9273 MB / 462.7 MB, free: 6.133 MB / 350.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.00036/0.4215, allocations: 163.7 kB / 462.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.4241, allocations: 1.673 MB / 464.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4241, allocations: 4.125 kB / 464.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.4243, allocations: 179.7 kB / 464.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.4257, allocations: 303.5 kB / 465 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009746/0.4354, allocations: 5.902 MB / 470.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/0.4381, allocations: 2.89 MB / 473.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001844/0.44, allocations: 0.7709 MB / 474.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.4402, allocations: 107.4 kB / 474.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4402, allocations: 0 / 474.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of Templates: time 0.03231/0.4726, allocations: 16.92 MB / 491.6 MB, free: 9.117 MB / 382.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 -s gbode -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