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.001127/0.001127, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001915/0.0001915, allocations: 4 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09187, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007272/0.09919, allocations: 7.343 MB / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004654/0.1039, allocations: 2.458 MB / 367.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/0.1047, allocations: 59.81 kB / 367.9 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.1055, allocations: 401.8 kB / 368.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.1071, allocations: 0.6348 MB / 368.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1086, allocations: 0.7383 MB / 369.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.1113, allocations: 2.425 MB / 372.1 MB, free: 68 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1733/0.2846, allocations: 8.039 MB / 380.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.2863, allocations: 1.357 MB / 381.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.288, allocations: 1.546 MB / 383.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.2884, allocations: 243 kB / 383.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.2893, allocations: 442.6 kB / 383.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.2898, allocations: 0.637 MB / 384.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006045/0.2904, allocations: 0.7819 MB / 385.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.2955, allocations: 6.641 MB / 391.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2956, allocations: 3.938 kB / 391.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2956, allocations: 0 / 391.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.2957, allocations: 0 / 391.8 MB, free: 5.121 MB / 302.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.00927/0.305, allocations: 4.047 MB / 395.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.305, allocations: 8.344 kB / 395.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/0.3126, allocations: 1.295 MB / 397.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.3164, allocations: 2.208 MB / 399.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.3166, allocations: 310.8 kB / 399.6 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.3172, allocations: 408.8 kB / 400 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3275, allocations: 5.432 MB / 405.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/0.3276, allocations: 7.906 kB / 405.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.328, allocations: 166.2 kB / 405.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.3282, allocations: 176.6 kB / 405.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.3366, allocations: 4.792 MB / 410.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.3625, allocations: 19.59 MB / 430.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.3669, allocations: 3.938 MB / 434.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.3671, allocations: 200.5 kB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3672, allocations: 43.56 kB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.945e-06/0.3672, allocations: 0 / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002486/0.3697, allocations: 2.009 MB / 436.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3697, allocations: 60.41 kB / 436.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.3714, allocations: 1.326 MB / 437.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.3715, allocations: 45.64 kB / 437.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000919/0.3724, allocations: 1.747 MB / 439.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3727, allocations: 385.2 kB / 439.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.3728, allocations: 48 kB / 440 MB, free: 7.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.373, allocations: 439.1 kB / 440.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3741, allocations: 0.8709 MB / 441.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.3758, allocations: 1.851 MB / 443.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.3774, allocations: 1.331 MB / 444.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.3774, allocations: 8 kB / 444.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003626/0.381, allocations: 2.804 MB / 447.3 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.3811, allocations: 23.98 kB / 447.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.3811, allocations: 36 kB / 447.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.301e-05/0.3812, allocations: 52.05 kB / 447.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.3827, allocations: 0.5264 MB / 447.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.647e-05/0.3828, allocations: 76.22 kB / 448 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.384, allocations: 285.2 kB / 448.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.3841, allocations: 116 kB / 448.4 MB, free: 15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002243/0.3864, allocations: 1.484 MB / 449.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.3866, allocations: 118.5 kB / 450 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.3887, allocations: 1.571 MB / 451.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00141/0.3901, allocations: 1.123 MB / 452.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3902, allocations: 0 / 452.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.3902, allocations: 7.969 kB / 452.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.4072, allocations: 14.04 MB / 466.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-05/0.4073, allocations: 20 kB / 466.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.4081, allocations: 231.5 kB / 467 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.4082, allocations: 35.89 kB / 467 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/0.4082, allocations: 47.98 kB / 467.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/0.4083, allocations: 39.86 kB / 467.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/0.4083, allocations: 31.88 kB / 467.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.4122, allocations: 3.958 MB / 471.1 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/0.4129, allocations: 339.2 kB / 471.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.4132, allocations: 51.94 kB / 471.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.4141, allocations: 72 kB / 471.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4143, allocations: 143.4 kB / 471.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.4144, allocations: 59.98 kB / 471.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.4159, allocations: 0.8945 MB / 472.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4159, allocations: 0 / 472.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002955/0.4189, allocations: 0.8624 MB / 473.5 MB, free: 4.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004059/0.4193, allocations: 212 kB / 473.7 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.4222, allocations: 1.95 MB / 475.7 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.4222, allocations: 4 kB / 475.7 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009085/0.4231, allocations: 0.6814 MB / 476.3 MB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.4248, allocations: 319.9 kB / 476.7 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.4364, allocations: 7.8 MB / 484.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.4395, allocations: 2.864 MB / 487.3 MB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001923/0.4414, allocations: 0.7693 MB / 488.1 MB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.4417, allocations: 111.4 kB / 488.2 MB, free: 4.988 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4417, allocations: 0 / 488.2 MB, free: 4.988 MB / 398.1 MB Notification: Performance of Templates: time 0.04721/0.4889, allocations: 16.03 MB / 0.4924 GB, free: 5.098 MB / 414.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","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches