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.001062/0.001062, allocations: 109.2 kB / 17.73 MB, free: 5.289 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.001168/0.001168, allocations: 188.2 kB / 18.66 MB, free: 4.363 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.357/1.357, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001348/0.001348, allocations: 55.91 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08325, allocations: 46.62 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1819/0.2651, allocations: 9.702 MB / 384.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.2704, allocations: 2.741 MB / 387.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009737/0.2715, allocations: 55.62 kB / 387.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009155/0.2806, allocations: 3.764 MB / 391.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005648/0.2863, allocations: 1.076 MB / 392.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.2893, allocations: 0.8048 MB / 393.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005778/0.295, allocations: 3.911 MB / 397.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.3113, allocations: 9.567 MB / 406.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005261/0.3166, allocations: 2.214 MB / 409 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005873/0.3225, allocations: 2.546 MB / 411.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.324, allocations: 0.6047 MB / 412.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.3265, allocations: 0.8138 MB / 412.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009911/0.3275, allocations: 1.207 MB / 414.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.3302, allocations: 2.423 MB / 416.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.3376, allocations: 8.129 MB / 424.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3376, allocations: 0 / 424.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3376, allocations: 0 / 424.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.3378, allocations: 4 kB / 424.7 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.01127/0.349, allocations: 5.163 MB / 429.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3491, allocations: 8.031 kB / 429.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.3647, allocations: 2.571 MB / 432.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.3691, allocations: 2.159 MB / 434.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.3694, allocations: 341.1 kB / 434.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.3704, allocations: 447.9 kB / 435.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.3812, allocations: 6.107 MB / 441.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/0.3813, allocations: 7.938 kB / 441.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004398/0.3817, allocations: 180 kB / 441.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.3819, allocations: 213.3 kB / 441.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009179/0.3911, allocations: 5.783 MB / 447.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.4189, allocations: 21.15 MB / 468.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008115/0.427, allocations: 8.943 MB / 477.8 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4286, allocations: 0.9765 MB / 478.7 MB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004748/0.4334, allocations: 3.549 MB / 482.3 MB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4334, allocations: 38.8 kB / 482.3 MB, free: 1.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.4334, allocations: 0 / 482.3 MB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009516/0.4344, allocations: 0.6397 MB / 483 MB, free: 1.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.4344, allocations: 59.39 kB / 483 MB, free: 1.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.4369, allocations: 1.99 MB / 485 MB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.4369, allocations: 33.7 kB / 485 MB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.4381, allocations: 2.181 MB / 487.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4382, allocations: 146.5 kB / 487.4 MB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006779/0.4389, allocations: 0.5509 MB / 487.9 MB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.439, allocations: 345.9 kB / 488.3 MB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4402, allocations: 0.8753 MB / 489.1 MB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.4422, allocations: 2.247 MB / 491.4 MB, free: 8.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.4452, allocations: 3.067 MB / 494.4 MB, free: 4.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/0.4452, allocations: 16 kB / 494.5 MB, free: 4.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004485/0.4497, allocations: 3.122 MB / 497.6 MB, free: 1.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.4498, allocations: 28.72 kB / 497.6 MB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.4498, allocations: 48 kB / 497.7 MB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.581e-05/0.4499, allocations: 72.06 kB / 497.7 MB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4517, allocations: 0.5927 MB / 498.3 MB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.768e-05/0.4518, allocations: 99.64 kB / 498.4 MB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.4536, allocations: 400.4 kB / 498.8 MB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4538, allocations: 148 kB / 499 MB, free: 15.77 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.002038/0.4559, allocations: 1.562 MB / 0.4888 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.4561, allocations: 138.2 kB / 0.4889 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009282/0.457, allocations: 0.6095 MB / 0.4895 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004/0.4574, allocations: 317.5 kB / 0.4898 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4574, allocations: 4 kB / 0.4898 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4575, allocations: 3.984 kB / 0.4898 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/0.4633, allocations: 3.961 MB / 0.4937 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4633, allocations: 12.06 kB / 0.4937 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.4636, allocations: 59.89 kB / 0.4938 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.4636, allocations: 8 kB / 0.4938 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.4636, allocations: 8 kB / 0.4938 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.4636, allocations: 11.94 kB / 0.4938 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4637, allocations: 4 kB / 0.4938 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4648, allocations: 0.8889 MB / 0.4947 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.4653, allocations: 259.4 kB / 0.4949 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.4655, allocations: 12 kB / 0.4949 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.4661, allocations: 47.88 kB / 0.495 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.4661, allocations: 31.84 kB / 0.495 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.4662, allocations: 16 kB / 0.495 GB, free: 7.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.4682, allocations: 1.343 MB / 0.4963 GB, free: 6.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4682, allocations: 0 / 0.4963 GB, free: 6.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002855/0.4711, allocations: 0.9245 MB / 0.4972 GB, free: 5.258 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.000311/0.4714, allocations: 147.2 kB / 0.4974 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.474, allocations: 1.678 MB / 0.499 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.474, allocations: 3.938 kB / 0.499 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.4743, allocations: 177.3 kB / 0.4992 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.001655/0.4759, allocations: 312.7 kB / 0.4995 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4866, allocations: 5.914 MB / 0.5052 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.4891, allocations: 2.883 MB / 0.5081 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001793/0.4909, allocations: 0.7709 MB / 0.5088 GB, free: 9.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.4911, allocations: 107.4 kB / 0.5089 GB, free: 9.145 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4911, allocations: 4 kB / 0.5089 GB, free: 9.141 MB / 446.1 MB Notification: Performance of Templates: time 0.02983/0.521, allocations: 17.69 MB / 0.5262 GB, free: 7.422 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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