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.001266/0.001266, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 55.81 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09727, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01085/0.1082, allocations: 9.133 MB / 368 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005704/0.1139, allocations: 2.647 MB / 370.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.115, allocations: 67.81 kB / 370.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1918/0.3069, allocations: 3.732 MB / 374.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.3098, allocations: 0.7332 MB / 375.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.3121, allocations: 0.9333 MB / 376.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004221/0.3163, allocations: 3.629 MB / 379.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.3282, allocations: 9.511 MB / 389.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.3318, allocations: 2.087 MB / 391.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.336, allocations: 2.379 MB / 393.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.3376, allocations: 0.583 MB / 394.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.3399, allocations: 0.8229 MB / 395.2 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009366/0.3408, allocations: 1.106 MB / 396.3 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.3434, allocations: 2.276 MB / 398.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008148/0.3516, allocations: 7.951 MB / 406.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3516, allocations: 7.938 kB / 406.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3516, allocations: 0 / 406.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001892/0.3518, 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.0132/0.3651, allocations: 4.852 MB / 411.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3651, allocations: 12.03 kB / 411.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007436/0.3726, allocations: 1.294 MB / 412.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.377, allocations: 2.311 MB / 415 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.3773, allocations: 320.4 kB / 415.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006895/0.378, allocations: 407.3 kB / 415.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00876/0.3868, allocations: 5.474 MB / 421.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.574e-05/0.3869, allocations: 7.906 kB / 421.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.3872, allocations: 166.5 kB / 421.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.3874, allocations: 184.6 kB / 421.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/0.3948, allocations: 4.792 MB / 426.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.4218, allocations: 19.28 MB / 445.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00447/0.4263, allocations: 3.891 MB / 449.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.4275, allocations: 0.7888 MB / 450.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.4277, allocations: 193.1 kB / 450.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.4278, allocations: 51.44 kB / 450.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.196e-06/0.4278, allocations: 4 kB / 450.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002471/0.4303, allocations: 1.545 MB / 452 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.4303, allocations: 64.41 kB / 452.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4322, allocations: 1.33 MB / 453.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.4323, allocations: 41.7 kB / 453.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.4336, allocations: 1.765 MB / 455.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.4339, allocations: 359.6 kB / 455.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006563/0.4346, allocations: 455.3 kB / 456 MB, free: 7.035 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4348, allocations: 345.9 kB / 456.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4359, allocations: 0.8318 MB / 457.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.4378, allocations: 1.823 MB / 459 MB, free: 3.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.4409, allocations: 2.798 MB / 461.8 MB, free: 288 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.4409, allocations: 12 kB / 461.8 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003891/0.4448, allocations: 2.73 MB / 464.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.4449, allocations: 20 kB / 464.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/0.4449, allocations: 36 kB / 464.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.243e-05/0.445, allocations: 48 kB / 464.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4466, allocations: 0.5186 MB / 465.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.514e-05/0.4467, allocations: 68.31 kB / 465.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.448, allocations: 293.2 kB / 465.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.4482, allocations: 112 kB / 465.6 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.002722/0.4509, allocations: 1.488 MB / 467.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.4513, allocations: 122.5 kB / 467.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.4535, allocations: 1.462 MB / 468.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001357/0.4548, allocations: 1.037 MB / 469.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4549, allocations: 0 / 469.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.4549, allocations: 3.984 kB / 469.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.472, allocations: 13.73 MB / 483.5 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/0.4721, allocations: 24 kB / 483.5 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.4729, allocations: 235.7 kB / 483.7 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.234e-05/0.4729, allocations: 31.94 kB / 483.8 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.482e-05/0.473, allocations: 47.98 kB / 483.8 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-05/0.4731, allocations: 39.86 kB / 483.9 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.566e-05/0.4731, allocations: 35.81 kB / 483.9 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.4763, allocations: 2.662 MB / 486.6 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.4771, allocations: 339.2 kB / 486.9 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.4773, allocations: 51.89 kB / 486.9 MB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/0.478, allocations: 67.94 kB / 487 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.4782, allocations: 135.5 kB / 487.1 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.4783, allocations: 67.92 kB / 487.2 MB, free: 5.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.4801, allocations: 0.9023 MB / 488.1 MB, free: 4.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4801, allocations: 7.938 kB / 488.1 MB, free: 4.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004568/0.4847, allocations: 0.8623 MB / 489 MB, free: 3.75 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.0005582/0.4853, allocations: 207.3 kB / 489.2 MB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.4895, allocations: 1.914 MB / 491.1 MB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/0.4896, allocations: 4 kB / 491.1 MB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.4909, allocations: 0.6307 MB / 491.7 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.494, allocations: 336.2 kB / 492 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.5094, allocations: 6.385 MB / 498.4 MB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004257/0.5137, allocations: 2.824 MB / 0.4895 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002852/0.5166, allocations: 0.7615 MB / 0.4903 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.517, allocations: 111.4 kB / 0.4904 GB, free: 6.219 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.517, allocations: 0 / 0.4904 GB, free: 6.219 MB / 414.1 MB Notification: Performance of Templates: time 0.0418/0.5588, allocations: 16.42 MB / 0.5064 GB, free: 5.93 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 cvode -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