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.00152/0.00152, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.81 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08863, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009566/0.09825, allocations: 9.129 MB / 368 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.1027, allocations: 2.647 MB / 370.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.1032, allocations: 67.81 kB / 370.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.167/0.2703, allocations: 3.725 MB / 374.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.2729, allocations: 0.7386 MB / 375.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.2748, allocations: 0.936 MB / 376.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.2784, allocations: 3.631 MB / 379.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.2887, allocations: 9.52 MB / 389.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.2916, allocations: 2.088 MB / 391.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002942/0.2946, allocations: 2.372 MB / 393.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006843/0.2952, allocations: 0.5851 MB / 394.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2966, allocations: 0.8175 MB / 395.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007232/0.2974, allocations: 1.11 MB / 396.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.2993, allocations: 2.279 MB / 398.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006628/0.3059, allocations: 7.97 MB / 406.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3059, allocations: 4 kB / 406.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3059, allocations: 0 / 406.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001214/0.3061, allocations: 0 / 406.5 MB, free: 9.844 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.01077/0.3168, allocations: 4.854 MB / 411.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3169, allocations: 8.031 kB / 411.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/0.3247, allocations: 1.293 MB / 412.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/0.3291, allocations: 2.307 MB / 415 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.3293, allocations: 315.1 kB / 415.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006116/0.33, allocations: 411.9 kB / 415.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/0.3387, allocations: 5.477 MB / 421.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-05/0.3388, allocations: 7.906 kB / 421.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.3392, allocations: 168 kB / 421.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.3393, allocations: 180.6 kB / 421.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008388/0.3477, allocations: 4.796 MB / 426.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.3716, allocations: 19.28 MB / 445.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004465/0.3761, allocations: 3.891 MB / 449.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3773, allocations: 0.7775 MB / 450.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.3775, allocations: 201.9 kB / 450.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3776, allocations: 43.56 kB / 450.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.036e-06/0.3776, allocations: 4 kB / 450.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002523/0.3801, allocations: 1.553 MB / 452 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3802, allocations: 64.39 kB / 452.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3818, allocations: 1.33 MB / 453.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.3819, allocations: 41.7 kB / 453.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000907/0.3828, allocations: 1.763 MB / 455.2 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.3831, allocations: 364.8 kB / 455.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.3836, allocations: 447.3 kB / 456 MB, free: 7.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3837, allocations: 345.9 kB / 456.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3848, allocations: 0.8318 MB / 457.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.3865, allocations: 1.821 MB / 459 MB, free: 3.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.3894, allocations: 2.809 MB / 461.8 MB, free: 288 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.3894, allocations: 12 kB / 461.9 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003669/0.3931, allocations: 2.723 MB / 464.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.3931, allocations: 23.98 kB / 464.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.3932, allocations: 36 kB / 464.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.863e-05/0.3932, allocations: 48 kB / 464.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.3948, allocations: 0.5186 MB / 465.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.181e-05/0.3949, allocations: 67.73 kB / 465.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.396, allocations: 289.5 kB / 465.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.3962, allocations: 116 kB / 465.7 MB, free: 12.45 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 (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.001934/0.3981, allocations: 1.488 MB / 467.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.3983, allocations: 114.5 kB / 467.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.4004, allocations: 1.462 MB / 468.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001318/0.4018, allocations: 1.037 MB / 469.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4018, allocations: 7.828 kB / 469.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4018, allocations: 3.984 kB / 469.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.4167, allocations: 13.73 MB / 483.5 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.4168, allocations: 20 kB / 483.5 MB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.4176, allocations: 236.5 kB / 483.8 MB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/0.4176, allocations: 31.94 kB / 483.8 MB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/0.4177, allocations: 48 kB / 483.8 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.791e-05/0.4177, allocations: 39.86 kB / 483.9 MB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.856e-05/0.4177, allocations: 31.88 kB / 483.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.4206, allocations: 2.659 MB / 486.6 MB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.4212, allocations: 331.2 kB / 486.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.4214, allocations: 59.95 kB / 486.9 MB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.4221, allocations: 67.94 kB / 487 MB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.4223, allocations: 143.3 kB / 487.1 MB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.4224, allocations: 63.94 kB / 487.2 MB, free: 5.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.4235, allocations: 0.91 MB / 488.1 MB, free: 4.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4235, allocations: 0 / 488.1 MB, free: 4.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002574/0.4261, allocations: 0.8623 MB / 489 MB, free: 3.758 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 (106): * Single equations (assignments): 105 * 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 Backend phase and start with SimCode phase: time 0.0003728/0.4265, allocations: 208.8 kB / 489.2 MB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.4293, allocations: 1.915 MB / 491.1 MB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.4293, allocations: 4 kB / 491.1 MB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.4301, allocations: 0.6342 MB / 491.7 MB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.4319, allocations: 332.8 kB / 492.1 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.4419, allocations: 6.384 MB / 498.4 MB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/0.4447, allocations: 2.817 MB / 0.4895 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001783/0.4465, allocations: 0.7615 MB / 0.4903 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.4469, allocations: 115.4 kB / 0.4904 GB, free: 6.227 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4469, allocations: 0 / 0.4904 GB, free: 6.227 MB / 414.1 MB Notification: Performance of Templates: time 0.03181/0.4787, allocations: 16.43 MB / 0.5064 GB, free: 5.934 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 -s gbode -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