Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2309, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009351/0.2403, allocations: 9.135 MB / 419.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.245, allocations: 2.639 MB / 421.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.2461, allocations: 67.81 kB / 421.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00749/0.2536, allocations: 3.725 MB / 425.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.2559, allocations: 0.7493 MB / 426.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.2579, allocations: 0.9336 MB / 427.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.2617, allocations: 3.622 MB / 430.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.2728, allocations: 9.51 MB / 440.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.2751, allocations: 2.092 MB / 442.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/0.2777, allocations: 2.375 MB / 444.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007429/0.2785, allocations: 0.5859 MB / 445.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.2799, allocations: 0.8239 MB / 446.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008861/0.2808, allocations: 1.111 MB / 447.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.283, allocations: 2.272 MB / 449.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006571/0.2896, allocations: 7.912 MB / 457.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2896, allocations: 0 / 457.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2896, allocations: 0 / 457.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.797e-05/0.2897, allocations: 0 / 457.5 MB, free: 1.836 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.009968/0.2997, allocations: 4.855 MB / 462.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2998, allocations: 12.03 kB / 462.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/0.3075, allocations: 1.292 MB / 463.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/0.3114, allocations: 2.307 MB / 466 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.3116, allocations: 320.4 kB / 466.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.3122, allocations: 404 kB / 466.7 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007999/0.3202, allocations: 5.473 MB / 472.1 MB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/0.3203, allocations: 7.906 kB / 472.1 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.3207, allocations: 168 kB / 472.3 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3208, allocations: 180.6 kB / 472.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007065/0.3279, allocations: 4.796 MB / 477.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/0.3511, allocations: 19.29 MB / 496.6 MB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/0.3554, allocations: 3.891 MB / 0.4887 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.3566, allocations: 0.7808 MB / 0.4895 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.3567, allocations: 195.2 kB / 0.4897 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3568, allocations: 39.56 kB / 0.4897 GB, free: 4.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.935e-06/0.3568, allocations: 0 / 0.4897 GB, free: 4.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002197/0.359, allocations: 1.545 MB / 0.4912 GB, free: 2.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.359, allocations: 64.41 kB / 0.4913 GB, free: 2.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.3606, allocations: 1.338 MB / 0.4926 GB, free: 1.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.3606, allocations: 41.7 kB / 0.4926 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000969/0.3616, allocations: 1.761 MB / 0.4944 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.3619, allocations: 371 kB / 0.4947 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/0.3624, allocations: 447.3 kB / 0.4951 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3626, allocations: 353.9 kB / 0.4955 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3637, allocations: 0.8317 MB / 0.4963 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3653, allocations: 1.82 MB / 0.4981 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.3682, allocations: 2.802 MB / 0.5008 GB, free: 8.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.3682, allocations: 8 kB / 0.5008 GB, free: 8.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003516/0.3717, allocations: 2.726 MB / 0.5035 GB, free: 5.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3718, allocations: 20 kB / 0.5035 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.3718, allocations: 35.94 kB / 0.5035 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.633e-05/0.3719, allocations: 48 kB / 0.5036 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.3734, allocations: 0.5232 MB / 0.5041 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.186e-05/0.3735, allocations: 75.72 kB / 0.5042 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3746, allocations: 285.2 kB / 0.5044 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.3747, allocations: 116 kB / 0.5045 GB, free: 4.215 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.001792/0.3765, allocations: 1.488 MB / 0.506 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.3767, allocations: 122.5 kB / 0.5061 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.3788, allocations: 1.446 MB / 0.5075 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.3788, allocations: 11.95 kB / 0.5075 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3788, allocations: 4 kB / 0.5075 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/0.3793, allocations: 303.2 kB / 0.5078 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3794, allocations: 19.94 kB / 0.5078 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.3799, allocations: 47.95 kB / 0.5079 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.38, allocations: 60.91 kB / 0.5079 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001846/0.3818, allocations: 1.263 MB / 0.5092 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002362/0.3842, allocations: 2.056 MB / 0.5112 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006254/0.3848, allocations: 0.5348 MB / 0.5117 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.3859, allocations: 0.91 MB / 0.5126 GB, free: 11.87 MB / 446.1 MB Notification: Performance of Backend: time 5.01e-07/0.3859, allocations: 0 / 0.5126 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.3883, allocations: 1.579 MB / 0.5141 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 0.008049/0.3963, allocations: 5.94 MB / 0.5199 GB, free: 4.285 MB / 446.1 MB Notification: Performance of Templates: time 0.2118/0.6082, allocations: 22.62 MB / 0.542 GB, free: 126 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches