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.001051/0.001051, allocations: 107.5 kB / 18.4 MB, free: 4.66 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.001015/0.001015, allocations: 183 kB / 19.33 MB, free: 3.738 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.311/1.311, 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.001147/0.001147, allocations: 51.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07256/0.07372, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1606/0.2344, allocations: 9.711 MB / 385.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.2394, allocations: 2.729 MB / 388.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.2413, allocations: 59.78 kB / 388.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00751/0.2489, allocations: 3.768 MB / 392.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.2525, allocations: 1.073 MB / 393.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.2545, allocations: 0.8115 MB / 394 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004355/0.2588, allocations: 3.904 MB / 397.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.2713, allocations: 9.573 MB / 407.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.2746, allocations: 2.215 MB / 409.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.2793, allocations: 2.548 MB / 412.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.2816, allocations: 0.6039 MB / 412.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.2847, allocations: 0.8182 MB / 413.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.2864, allocations: 1.194 MB / 414.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004112/0.2905, allocations: 2.427 MB / 417.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008347/0.2989, allocations: 8.133 MB / 425.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2989, allocations: 0 / 425.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2989, allocations: 0 / 425.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001316/0.2991, allocations: 0 / 425.4 MB, free: 14.07 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.01178/0.3108, allocations: 5.159 MB / 430.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3109, allocations: 8.031 kB / 430.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.3265, allocations: 2.579 MB / 433.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.3302, allocations: 2.159 MB / 435.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.3304, allocations: 337.1 kB / 435.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009148/0.3313, allocations: 447.9 kB / 436.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.3421, allocations: 6.103 MB / 442.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-05/0.3422, allocations: 8 kB / 442.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004698/0.3426, allocations: 180 kB / 442.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.3428, allocations: 213.3 kB / 442.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009614/0.3525, allocations: 5.787 MB / 448.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.3824, allocations: 21.15 MB / 469.5 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008084/0.3905, allocations: 8.947 MB / 478.4 MB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.392, allocations: 0.9688 MB / 479.4 MB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005156/0.3972, allocations: 3.557 MB / 483 MB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3973, allocations: 42.73 kB / 483 MB, free: 1.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.3973, allocations: 0 / 483 MB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001088/0.3984, allocations: 0.6397 MB / 483.7 MB, free: 1.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.3984, allocations: 63.39 kB / 483.7 MB, free: 1.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.401, allocations: 1.982 MB / 485.7 MB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4011, allocations: 29.7 kB / 485.7 MB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.4023, allocations: 2.181 MB / 487.9 MB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.4025, allocations: 150.5 kB / 488.1 MB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007211/0.4032, allocations: 0.547 MB / 488.6 MB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4033, allocations: 345.9 kB / 488.9 MB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.4046, allocations: 0.8715 MB / 489.8 MB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4067, allocations: 2.251 MB / 492.1 MB, free: 8.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.41, allocations: 3.067 MB / 495.1 MB, free: 4.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.179e-05/0.41, allocations: 12 kB / 495.1 MB, free: 4.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00461/0.4146, allocations: 3.129 MB / 498.3 MB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.4147, allocations: 24 kB / 498.3 MB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8e-05/0.4148, allocations: 51.94 kB / 498.3 MB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.051e-05/0.4148, allocations: 64 kB / 498.4 MB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.4167, allocations: 0.5927 MB / 499 MB, free: 440 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.41e-05/0.4168, allocations: 96.23 kB / 499.1 MB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4186, allocations: 408.2 kB / 499.5 MB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.4188, allocations: 148 kB / 499.6 MB, free: 15.79 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.00214/0.421, allocations: 1.562 MB / 0.4895 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.4212, allocations: 130.3 kB / 0.4896 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/0.4221, allocations: 0.6133 MB / 0.4902 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.4221, allocations: 7.984 kB / 0.4902 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4221, allocations: 0 / 0.4902 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.4225, allocations: 243.4 kB / 0.4904 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.4227, allocations: 4 kB / 0.4904 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.4232, allocations: 43.94 kB / 0.4905 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4233, allocations: 11.98 kB / 0.4905 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006182/0.4239, allocations: 436.7 kB / 0.4909 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009293/0.4248, allocations: 0.8312 MB / 0.4917 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001998/0.425, allocations: 156.4 kB / 0.4918 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.4268, allocations: 1.327 MB / 0.4931 GB, free: 10.36 MB / 430.1 MB Notification: Performance of Backend: time 4.31e-07/0.4268, allocations: 64 / 0.4931 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002722/0.4295, allocations: 1.704 MB / 0.4948 GB, free: 8.656 MB / 430.1 MB Notification: Performance of SimCode: time 0.0109/0.4404, allocations: 6.289 MB / 0.5009 GB, free: 2.305 MB / 430.1 MB Notification: Performance of Templates: time 0.03968/0.4801, allocations: 23.03 MB / 0.5234 GB, free: 11.23 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