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.0007644/0.0007643, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009063/0.0009064, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002273/0.0002273, allocations: 4 kB / 307.7 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09534, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00866/0.104, allocations: 8.409 MB / 367.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.1087, allocations: 2.597 MB / 370.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/0.1092, allocations: 59.81 kB / 370.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009694/0.1102, allocations: 0.5328 MB / 370.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.1119, allocations: 0.6492 MB / 371.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1136, allocations: 0.8716 MB / 372.4 MB, free: 112 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1727/0.2863, allocations: 3.443 MB / 375.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.2992, allocations: 9.885 MB / 385.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.3014, allocations: 1.454 MB / 387.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.3034, allocations: 1.756 MB / 388.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003705/0.3038, allocations: 242.3 kB / 389.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.3049, allocations: 480.5 kB / 389.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.3054, allocations: 0.6717 MB / 390.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.3071, allocations: 1.805 MB / 392.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.3126, allocations: 7.438 MB / 399.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3126, allocations: 0 / 399.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3126, allocations: 2.938 kB / 399.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.3127, allocations: 0 / 399.6 MB, free: 15.32 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.009469/0.3222, allocations: 4.005 MB / 403.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3222, allocations: 8.031 kB / 403.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008063/0.3303, allocations: 1.295 MB / 404.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.3335, allocations: 2.234 MB / 407.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.3338, allocations: 315.5 kB / 407.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006092/0.3344, allocations: 411.8 kB / 407.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009121/0.3436, allocations: 5.495 MB / 413.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-05/0.3437, allocations: 0 / 413.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/0.3441, allocations: 172 kB / 413.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.3442, allocations: 176.6 kB / 413.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/0.3517, allocations: 4.817 MB / 418.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02497/0.3767, allocations: 19.61 MB / 438.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.3815, allocations: 3.93 MB / 442 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3829, allocations: 0.8199 MB / 442.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.3831, allocations: 196.3 kB / 443 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3831, allocations: 47.5 kB / 443.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.326e-06/0.3832, allocations: 3.938 kB / 443.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002603/0.3858, allocations: 1.67 MB / 444.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3858, allocations: 64.41 kB / 444.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.3876, allocations: 1.334 MB / 446.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.3877, allocations: 41.7 kB / 446.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.3887, allocations: 1.752 MB / 447.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.3891, allocations: 380.7 kB / 448.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.3893, allocations: 182 kB / 448.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3895, allocations: 345.9 kB / 448.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.3908, allocations: 0.8631 MB / 449.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.3926, allocations: 1.873 MB / 451.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.3958, allocations: 2.871 MB / 454.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.3958, allocations: 8 kB / 454.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003865/0.3997, allocations: 2.812 MB / 457.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.3997, allocations: 24.94 kB / 457.3 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.3998, allocations: 35.94 kB / 457.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-05/0.3998, allocations: 52 kB / 457.3 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.4014, allocations: 0.5186 MB / 457.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.367e-05/0.4015, allocations: 71.78 kB / 457.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.4027, allocations: 285.2 kB / 458.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4029, allocations: 112 kB / 458.3 MB, free: 3.352 MB / 366.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.002256/0.4051, allocations: 1.496 MB / 459.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.4053, allocations: 126.3 kB / 459.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.4077, allocations: 1.54 MB / 461.5 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001487/0.4092, allocations: 1.119 MB / 462.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4092, allocations: 3.984 kB / 462.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4092, allocations: 3.984 kB / 462.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.4258, allocations: 13.84 MB / 476.4 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-05/0.4259, allocations: 24 kB / 476.5 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008176/0.4267, allocations: 231.8 kB / 476.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.97e-05/0.4268, allocations: 28 kB / 476.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.603e-05/0.4269, allocations: 55.81 kB / 476.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.904e-05/0.4269, allocations: 39.86 kB / 476.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.289e-05/0.4269, allocations: 39.75 kB / 476.9 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.4303, allocations: 2.79 MB / 479.6 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/0.4309, allocations: 347.1 kB / 480 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.4312, allocations: 51.98 kB / 480 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.4321, allocations: 71.88 kB / 480.1 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.4323, allocations: 143.5 kB / 480.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.4324, allocations: 56 kB / 480.3 MB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.4339, allocations: 0.9062 MB / 481.2 MB, free: 11.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4339, allocations: 4 kB / 481.2 MB, free: 11.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002705/0.4366, allocations: 0.8662 MB / 482.1 MB, free: 10.23 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.0003721/0.437, allocations: 210.2 kB / 482.3 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.44, allocations: 1.951 MB / 484.2 MB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.44, allocations: 4 kB / 484.2 MB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009502/0.441, allocations: 0.6755 MB / 484.9 MB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004943/0.4459, allocations: 347.2 kB / 485.2 MB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.4589, allocations: 8.165 MB / 493.4 MB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/0.4622, allocations: 2.809 MB / 496.2 MB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002086/0.4643, allocations: 0.7656 MB / 497 MB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.4647, allocations: 111.4 kB / 497.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.214e-06/0.4647, allocations: 0 / 497.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of Templates: time 0.03086/0.4956, allocations: 16.44 MB / 0.5015 GB, free: 10.54 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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