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.001069/0.001075, allocations: 108.9 kB / 17.73 MB, free: 5.316 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.001102/0.001102, allocations: 187 kB / 18.66 MB, free: 4.387 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.344/1.344, 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.001162/0.001162, allocations: 43.94 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08753, allocations: 46.61 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1929/0.2805, allocations: 9.713 MB / 384.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.2859, allocations: 2.743 MB / 387.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.2875, allocations: 54.94 kB / 387.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008004/0.2955, allocations: 3.758 MB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006159/0.3017, allocations: 1.076 MB / 392.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.305, allocations: 0.8135 MB / 393.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007205/0.3122, allocations: 3.911 MB / 397.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02179/0.334, allocations: 9.568 MB / 406.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005275/0.3394, allocations: 2.206 MB / 409 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007221/0.3466, allocations: 2.546 MB / 411.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002918/0.3496, allocations: 0.6045 MB / 412.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.3537, allocations: 0.8215 MB / 413 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002869/0.3566, allocations: 1.196 MB / 414.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005112/0.3618, allocations: 2.428 MB / 416.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00999/0.3718, allocations: 8.157 MB / 424.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3718, allocations: 0 / 424.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3718, allocations: 0 / 424.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002514/0.3721, allocations: 0 / 424.7 MB, free: 14.04 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.01464/0.3867, allocations: 5.25 MB / 430 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3868, allocations: 12.03 kB / 430 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/0.4036, allocations: 2.585 MB / 432.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.4075, allocations: 2.175 MB / 434.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.4078, allocations: 333.1 kB / 435.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.409, allocations: 436 kB / 435.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.4231, allocations: 6.114 MB / 441.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/0.4233, allocations: 15.94 kB / 441.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008447/0.4241, allocations: 180 kB / 441.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.4243, allocations: 213.3 kB / 442 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.4362, allocations: 5.783 MB / 447.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03508/0.4713, allocations: 21.2 MB / 469 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008562/0.4799, allocations: 8.947 MB / 478 MB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.4815, allocations: 0.9766 MB / 478.9 MB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005374/0.4869, allocations: 3.558 MB / 482.5 MB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4869, allocations: 38.78 kB / 482.5 MB, free: 1.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.4869, allocations: 0 / 482.5 MB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001119/0.4881, allocations: 0.6561 MB / 483.2 MB, free: 1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.4881, allocations: 55.34 kB / 483.2 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.491, allocations: 1.987 MB / 485.2 MB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.491, allocations: 33.64 kB / 485.3 MB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.4923, allocations: 2.268 MB / 487.5 MB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4925, allocations: 155.1 kB / 487.7 MB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.4933, allocations: 0.5475 MB / 488.2 MB, free: 11.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4934, allocations: 353.9 kB / 488.6 MB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4947, allocations: 0.8753 MB / 489.4 MB, free: 10.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.4969, allocations: 2.243 MB / 491.7 MB, free: 7.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.4999, allocations: 3.067 MB / 494.8 MB, free: 4.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.205e-05/0.5, allocations: 12 kB / 494.8 MB, free: 3.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004745/0.5047, allocations: 3.134 MB / 497.9 MB, free: 0.8516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.5048, allocations: 35.22 kB / 497.9 MB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.327e-05/0.5049, allocations: 48 kB / 498 MB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-05/0.505, allocations: 64.78 kB / 498 MB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.5067, allocations: 0.5927 MB / 498.6 MB, free: 120 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-05/0.5068, allocations: 99.64 kB / 498.7 MB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.5087, allocations: 417.4 kB / 499.1 MB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.5089, allocations: 152 kB / 499.3 MB, free: 15.46 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.002135/0.5111, allocations: 1.562 MB / 0.4891 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.5113, allocations: 139 kB / 0.4892 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.5123, allocations: 0.6095 MB / 0.4898 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004036/0.5127, allocations: 321.5 kB / 0.4901 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5127, allocations: 0 / 0.4901 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.5128, allocations: 0 / 0.4901 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006323/0.5191, allocations: 3.972 MB / 0.494 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.5191, allocations: 7.938 kB / 0.494 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.5194, allocations: 56.5 kB / 0.4941 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.5194, allocations: 12 kB / 0.4941 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.5195, allocations: 8 kB / 0.4941 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.5195, allocations: 11.92 kB / 0.4941 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5195, allocations: 8 kB / 0.4941 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5206, allocations: 0.8935 MB / 0.495 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.5211, allocations: 264.1 kB / 0.4953 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.5215, allocations: 11.98 kB / 0.4953 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/0.5222, allocations: 48 kB / 0.4953 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.5222, allocations: 35.8 kB / 0.4953 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.5223, allocations: 12 kB / 0.4954 GB, free: 7.195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001964/0.5242, allocations: 1.335 MB / 0.4967 GB, free: 5.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5242, allocations: 0 / 0.4967 GB, free: 5.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002695/0.5269, allocations: 0.9494 MB / 0.4976 GB, free: 4.91 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.0002933/0.5273, allocations: 151 kB / 0.4977 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.5297, allocations: 1.674 MB / 0.4994 GB, free: 3.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5298, allocations: 4 kB / 0.4994 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.53, allocations: 183.7 kB / 0.4995 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5317, allocations: 309.1 kB / 0.4998 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.542, allocations: 6.007 MB / 0.5057 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/0.545, allocations: 2.891 MB / 0.5085 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001894/0.547, allocations: 0.7748 MB / 0.5093 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.5473, allocations: 103.4 kB / 0.5094 GB, free: 8.691 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5473, allocations: 0 / 0.5094 GB, free: 8.691 MB / 446.1 MB Notification: Performance of Templates: time 0.03066/0.5779, allocations: 17.71 MB / 0.5267 GB, free: 6.957 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