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.001183/0.001184, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 63.56 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07617, allocations: 50.53 MB / 357.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008951/0.08515, allocations: 9.023 MB / 366.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.08931, allocations: 2.604 MB / 369.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.09024, allocations: 63.88 kB / 369.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1306/0.2209, allocations: 3.54 MB / 372.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.2231, allocations: 0.6512 MB / 373.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.2249, allocations: 0.8668 MB / 374.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.2281, allocations: 3.589 MB / 378 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00949/0.2376, allocations: 11.09 MB / 389.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.2399, allocations: 2.114 MB / 391.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.2418, allocations: 2.392 MB / 393.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.2422, allocations: 0.584 MB / 394.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2433, allocations: 0.8226 MB / 395 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006141/0.2439, allocations: 1.116 MB / 396.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.2454, allocations: 2.282 MB / 398.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.2498, allocations: 6.877 MB / 405.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2498, allocations: 0 / 405.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2498, allocations: 0 / 405.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.2499, allocations: 4 kB / 405.3 MB, free: 10 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.008645/0.2585, allocations: 4.88 MB / 410.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2586, allocations: 12.03 kB / 410.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/0.2657, allocations: 1.289 MB / 411.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.2683, allocations: 2.234 MB / 413.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.2685, allocations: 310.1 kB / 414 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/0.2691, allocations: 419.2 kB / 414.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007671/0.2767, allocations: 5.484 MB / 419.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.776e-05/0.2768, allocations: 11.89 kB / 419.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.2772, allocations: 166.9 kB / 420 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.2773, allocations: 184.6 kB / 420.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006468/0.2838, allocations: 4.816 MB / 425 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.3043, allocations: 19.55 MB / 444.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.3084, allocations: 3.926 MB / 448.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.3095, allocations: 0.8109 MB / 449.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.3097, allocations: 200.9 kB / 449.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3097, allocations: 59.44 kB / 449.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 2.625e-06/0.3097, allocations: 0 / 449.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.002103/0.3118, allocations: 1.662 MB / 451.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3119, allocations: 60.41 kB / 451.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3133, allocations: 1.341 MB / 452.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.3134, allocations: 45.64 kB / 452.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000842/0.3142, allocations: 1.751 MB / 454.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.3145, allocations: 386.1 kB / 454.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000515/0.315, allocations: 455.6 kB / 455.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3151, allocations: 341.9 kB / 455.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3162, allocations: 0.8747 MB / 456.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3178, allocations: 1.862 MB / 458.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.3205, allocations: 2.874 MB / 461.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.3205, allocations: 16 kB / 461.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003475/0.324, allocations: 2.817 MB / 464 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.324, allocations: 27.88 kB / 464.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.3241, allocations: 36 kB / 464.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.419e-05/0.3241, allocations: 48 kB / 464.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.3255, allocations: 0.5186 MB / 464.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.921e-05/0.3256, allocations: 67.78 kB / 464.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.3266, allocations: 293.4 kB / 465 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.3268, allocations: 108 kB / 465.1 MB, free: 11.92 MB / 382.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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001491/0.3283, allocations: 1.488 MB / 466.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3284, allocations: 126.3 kB / 466.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.3305, allocations: 1.544 MB / 468.3 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00132/0.3318, allocations: 1.115 MB / 469.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3318, allocations: 0 / 469.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3318, allocations: 3.984 kB / 469.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.3453, allocations: 13.83 MB / 483.2 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.3453, allocations: 23.98 kB / 483.3 MB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.346, allocations: 227.6 kB / 483.5 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/0.346, allocations: 24 kB / 483.5 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.3461, allocations: 55.98 kB / 483.6 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.808e-05/0.3462, allocations: 43.84 kB / 483.6 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.946e-05/0.3462, allocations: 39.75 kB / 483.6 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.349, allocations: 2.792 MB / 486.4 MB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.3494, allocations: 343.1 kB / 486.8 MB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.3496, allocations: 43.98 kB / 486.8 MB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.3503, allocations: 79.88 kB / 486.9 MB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.3504, allocations: 135.5 kB / 487 MB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.3505, allocations: 64 kB / 487.1 MB, free: 4.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009689/0.3515, allocations: 0.9062 MB / 488 MB, free: 3.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3515, allocations: 0 / 488 MB, free: 3.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001915/0.3534, allocations: 0.8701 MB / 488.9 MB, free: 2.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002916/0.3537, allocations: 207.5 kB / 489.1 MB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.356, allocations: 2.02 MB / 491.1 MB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.3561, allocations: 8.438 kB / 491.1 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.3569, allocations: 0.6799 MB / 491.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.3586, allocations: 345.3 kB / 492.1 MB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/0.3674, allocations: 8.006 MB / 0.4884 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.3696, allocations: 2.743 MB / 0.4911 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.3699, allocations: 127.4 kB / 0.4912 GB, free: 4.332 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3699, allocations: 0 / 0.4912 GB, free: 4.332 MB / 414.1 MB Notification: Performance of Templates: time 0.4402/0.8101, allocations: 35.54 MB / 0.5259 GB, free: 0.8789 MB / 446.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