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.001073/0.001073, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.00103/0.00103, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2241, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009228/0.2334, allocations: 9.122 MB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.2376, allocations: 2.569 MB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.2381, allocations: 67.81 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00724/0.2454, allocations: 3.746 MB / 416.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.2476, allocations: 0.9049 MB / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.2493, allocations: 0.7999 MB / 418.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003398/0.2527, allocations: 3.634 MB / 422.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.2635, allocations: 9.503 MB / 431.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.2658, allocations: 2.088 MB / 433.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.2688, allocations: 2.375 MB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.2698, allocations: 0.582 MB / 436.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.2715, allocations: 0.8005 MB / 437.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000943/0.2725, allocations: 1.111 MB / 438.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.2747, allocations: 2.276 MB / 441 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.2812, allocations: 7.888 MB / 448.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2812, allocations: 0 / 448.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2813, allocations: 0 / 448.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001233/0.2814, allocations: 0 / 448.9 MB, free: 9.188 MB / 366.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.01106/0.2925, allocations: 4.849 MB / 453.7 MB, free: 4.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2925, allocations: 15.89 kB / 453.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007814/0.3003, allocations: 1.269 MB / 455 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/0.3046, allocations: 2.314 MB / 457.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.3048, allocations: 320.4 kB / 457.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007624/0.3056, allocations: 408 kB / 458.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009903/0.3155, allocations: 5.473 MB / 463.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.679e-05/0.3156, allocations: 4 kB / 463.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/0.316, allocations: 168 kB / 463.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.3162, allocations: 176.6 kB / 463.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007552/0.3238, allocations: 4.796 MB / 468.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.3481, allocations: 19.05 MB / 487.7 MB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.3527, allocations: 3.891 MB / 491.6 MB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.3539, allocations: 0.7809 MB / 492.4 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.3541, allocations: 110.1 kB / 492.5 MB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3541, allocations: 47.5 kB / 492.5 MB, free: 12.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.376e-06/0.3541, allocations: 0 / 492.5 MB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002215/0.3564, allocations: 1.545 MB / 494.1 MB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3564, allocations: 64.41 kB / 494.1 MB, free: 10.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3581, allocations: 1.338 MB / 495.5 MB, free: 9.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.3581, allocations: 45.7 kB / 495.5 MB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009475/0.3591, allocations: 1.749 MB / 497.3 MB, free: 7.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.3594, allocations: 371 kB / 497.6 MB, free: 7.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005587/0.3599, allocations: 443.4 kB / 498.1 MB, free: 6.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3601, allocations: 353.8 kB / 498.4 MB, free: 6.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.3612, allocations: 0.8279 MB / 499.2 MB, free: 5.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.363, allocations: 1.831 MB / 0.4893 GB, free: 3.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.366, allocations: 2.794 MB / 0.4921 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.366, allocations: 8 kB / 0.4921 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003852/0.3699, allocations: 2.734 MB / 0.4947 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.3699, allocations: 20 kB / 0.4948 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/0.37, allocations: 32 kB / 0.4948 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.569e-05/0.37, allocations: 48 kB / 0.4948 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.3716, allocations: 0.5193 MB / 0.4953 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.085e-05/0.3717, allocations: 71.78 kB / 0.4954 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3729, allocations: 297.1 kB / 0.4957 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.3731, allocations: 116 kB / 0.4958 GB, free: 11.99 MB / 430.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 (272): * Single equations (assignments): 271 * 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.001948/0.3751, allocations: 1.484 MB / 0.4973 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.3753, allocations: 118.5 kB / 0.4974 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.3776, allocations: 1.458 MB / 0.4988 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.3776, allocations: 7.969 kB / 0.4988 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3776, allocations: 0 / 0.4988 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/0.3782, allocations: 303.2 kB / 0.4991 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.3783, allocations: 19.94 kB / 0.4991 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.3788, allocations: 47.95 kB / 0.4992 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.379, allocations: 64.91 kB / 0.4992 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002005/0.381, allocations: 1.259 MB / 0.5004 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002583/0.3836, allocations: 2.063 MB / 0.5025 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007137/0.3843, allocations: 0.527 MB / 0.503 GB, free: 4.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.3854, allocations: 0.91 MB / 0.5039 GB, free: 3.648 MB / 430.1 MB Notification: Performance of Backend: time 3.1e-07/0.3855, allocations: 0 / 0.5039 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.388, allocations: 1.579 MB / 0.5054 GB, free: 2.062 MB / 430.1 MB Notification: Performance of SimCode: time 0.009201/0.3972, allocations: 5.933 MB / 0.5112 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Templates: time 0.03677/0.434, allocations: 22.52 MB / 0.5332 GB, free: 5.621 MB / 462.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