Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 114.5 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 190.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 43.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07368, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.156/0.2297, allocations: 9.714 MB / 385.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.2336, allocations: 2.741 MB / 388.3 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.2341, allocations: 55.56 kB / 388.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006497/0.2406, allocations: 3.776 MB / 392.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2429, allocations: 1.077 MB / 393.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2445, allocations: 0.8106 MB / 394 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003619/0.2481, allocations: 3.91 MB / 397.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.2583, allocations: 9.568 MB / 407.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.2613, allocations: 2.216 MB / 409.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.2641, allocations: 2.545 MB / 412.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007626/0.2649, allocations: 0.6033 MB / 412.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.2665, allocations: 0.8184 MB / 413.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009721/0.2675, allocations: 1.198 MB / 414.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.2697, allocations: 2.427 MB / 417.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006662/0.2764, allocations: 8.153 MB / 425.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2764, allocations: 0 / 425.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2764, allocations: 0 / 425.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.551e-05/0.2765, allocations: 0 / 425.4 MB, free: 14.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.009976/0.2864, allocations: 5.254 MB / 430.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2865, allocations: 8.031 kB / 430.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.3016, allocations: 2.593 MB / 433.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.3047, allocations: 2.167 MB / 435.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3049, allocations: 333.1 kB / 435.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006486/0.3056, allocations: 444 kB / 436.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00915/0.3147, allocations: 6.107 MB / 442.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-05/0.3148, allocations: 7.953 kB / 442.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.3152, allocations: 187.9 kB / 442.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.3154, allocations: 213.3 kB / 442.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008659/0.3241, allocations: 5.787 MB / 448.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.3502, allocations: 21.2 MB / 469.7 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008079/0.3583, allocations: 8.947 MB / 478.7 MB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.3599, allocations: 0.9688 MB / 479.6 MB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005227/0.3651, allocations: 3.562 MB / 483.2 MB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3652, allocations: 38.8 kB / 483.2 MB, free: 1.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.3652, allocations: 0 / 483.2 MB, free: 1.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001094/0.3663, allocations: 0.6522 MB / 483.9 MB, free: 1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.3663, allocations: 55.41 kB / 483.9 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.369, allocations: 1.987 MB / 485.9 MB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.369, allocations: 37.58 kB / 486 MB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.3703, allocations: 2.276 MB / 488.2 MB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.3704, allocations: 155 kB / 488.4 MB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007196/0.3711, allocations: 0.5475 MB / 488.9 MB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3713, allocations: 341.9 kB / 489.3 MB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.3725, allocations: 0.8793 MB / 490.1 MB, free: 10.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.3745, allocations: 2.247 MB / 492.4 MB, free: 7.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.3776, allocations: 3.071 MB / 495.5 MB, free: 3.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.3776, allocations: 12 kB / 495.5 MB, free: 3.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004489/0.3821, allocations: 3.13 MB / 498.6 MB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.3822, allocations: 31.28 kB / 498.6 MB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-05/0.3822, allocations: 51.94 kB / 498.7 MB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-05/0.3823, allocations: 64 kB / 498.8 MB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.3841, allocations: 0.5888 MB / 499.3 MB, free: 116 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-05/0.3842, allocations: 96.23 kB / 499.4 MB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.386, allocations: 417.5 kB / 499.8 MB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.3862, allocations: 144 kB / 500 MB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.001974/0.3882, allocations: 1.566 MB / 0.4898 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.3884, allocations: 147 kB / 0.4899 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/0.3894, allocations: 0.6093 MB / 0.4905 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3894, allocations: 3.984 kB / 0.4905 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3894, allocations: 0 / 0.4905 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.3898, allocations: 252.1 kB / 0.4908 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.39, allocations: 7.984 kB / 0.4908 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.3905, allocations: 35.95 kB / 0.4908 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3905, allocations: 19.97 kB / 0.4908 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006451/0.3912, allocations: 428.7 kB / 0.4912 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009662/0.3921, allocations: 0.8398 MB / 0.4921 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002074/0.3924, allocations: 160.4 kB / 0.4922 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.3941, allocations: 1.327 MB / 0.4935 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Backend: time 3.81e-07/0.3941, allocations: 4.062 kB / 0.4935 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.3968, allocations: 1.699 MB / 0.4952 GB, free: 8.309 MB / 430.1 MB Notification: Performance of SimCode: time 0.009421/0.4062, allocations: 6.406 MB / 0.5014 GB, free: 1.832 MB / 430.1 MB Notification: Performance of Templates: time 0.03918/0.4454, allocations: 23.05 MB / 0.5239 GB, free: 10.74 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches