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.0008136/0.0008137, allocations: 97.3 kB / 17.3 MB, free: 6.395 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.0009521/0.0009523, allocations: 179.6 kB / 18.21 MB, free: 5.551 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.451/1.451, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.0005079/0.0005079, allocations: 12 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09497, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008922/0.104, allocations: 8.953 MB / 337.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005753/0.1097, allocations: 2.695 MB / 340.6 MB, free: 8.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.1113, allocations: 51.88 kB / 340.7 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1125, allocations: 0.5561 MB / 341.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1153, allocations: 0.9646 MB / 342.2 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1169, allocations: 0.7327 MB / 342.9 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003798/0.1208, allocations: 3.789 MB / 346.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01481/0.1356, allocations: 9.939 MB / 356.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.1385, allocations: 1.557 MB / 358.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.1413, allocations: 1.918 MB / 360.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.1418, allocations: 252 kB / 360.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.143, allocations: 467.8 kB / 360.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000633/0.1436, allocations: 0.751 MB / 361.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.1456, allocations: 1.945 MB / 363.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007524/0.1531, allocations: 7.646 MB / 371.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1532, allocations: 3.938 kB / 371.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1532, allocations: 0 / 371.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000252/0.1534, allocations: 0 / 371.2 MB, free: 9.305 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01149/0.1649, allocations: 4.234 MB / 375.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.165, allocations: 12.03 kB / 375.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.1811, allocations: 2.575 MB / 378 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.1851, allocations: 2.162 MB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1622/0.3473, allocations: 334 kB / 380.5 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/0.3491, allocations: 440.2 kB / 380.9 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/0.3633, allocations: 6.129 MB / 387 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.3634, allocations: 9.141 kB / 387 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004578/0.3639, allocations: 179.1 kB / 387.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003671/0.3643, allocations: 217.2 kB / 387.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.3745, allocations: 5.807 MB / 393.2 MB, free: 42.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.4001, allocations: 21.49 MB / 414.7 MB, free: 24.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006283/0.4065, allocations: 8.972 MB / 423.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.4078, allocations: 1.017 MB / 424.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004243/0.412, allocations: 3.684 MB / 428.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4121, allocations: 46.22 kB / 428.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.826e-06/0.4121, allocations: 0 / 428.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009895/0.4131, allocations: 0.7642 MB / 429.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.4131, allocations: 55.34 kB / 429.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.4151, allocations: 1.99 MB / 431.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4152, allocations: 29.7 kB / 431.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/0.416, allocations: 2.177 MB / 433.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4161, allocations: 168.5 kB / 433.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.4163, allocations: 206.8 kB / 433.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.4164, allocations: 345.9 kB / 434.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009865/0.4174, allocations: 0.9174 MB / 435.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.419, allocations: 2.283 MB / 437.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.4222, allocations: 3.149 MB / 440.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.4222, allocations: 12 kB / 440.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004647/0.4269, allocations: 3.203 MB / 443.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.4269, allocations: 24 kB / 443.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/0.427, allocations: 48 kB / 443.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.896e-05/0.4271, allocations: 68 kB / 443.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.4288, allocations: 0.5926 MB / 444.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.368e-05/0.4289, allocations: 95.64 kB / 444.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.4308, allocations: 408.6 kB / 445 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.431, allocations: 144 kB / 445.1 MB, free: 7.504 MB / 334.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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002413/0.4334, allocations: 1.562 MB / 446.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.4336, allocations: 134.2 kB / 446.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4347, allocations: 0.7069 MB / 447.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005142/0.4352, allocations: 418.7 kB / 447.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4352, allocations: 0 / 447.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4352, allocations: 0 / 447.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/0.4411, allocations: 4.08 MB / 452 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4411, allocations: 4 kB / 452 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.4414, allocations: 60.48 kB / 452 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.4414, allocations: 8 kB / 452.1 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.4414, allocations: 19.94 kB / 452.1 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.4415, allocations: 8 kB / 452.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.4415, allocations: 7.938 kB / 452.1 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4426, allocations: 1.029 MB / 453.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.4431, allocations: 299.1 kB / 453.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.4433, allocations: 12 kB / 453.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.4438, allocations: 48 kB / 453.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4439, allocations: 31.84 kB / 453.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.4439, allocations: 23.94 kB / 453.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00249/0.4464, allocations: 1.335 MB / 454.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4465, allocations: 3.938 kB / 454.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003899/0.4504, allocations: 0.9342 MB / 455.8 MB, free: 12.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004432/0.4508, allocations: 160 kB / 455.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003964/0.4548, allocations: 1.751 MB / 457.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.4548, allocations: 0 / 457.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.4553, allocations: 235.6 kB / 457.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.4589, allocations: 279 kB / 458.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.4725, allocations: 7.775 MB / 466 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/0.4763, allocations: 2.899 MB / 468.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003135/0.4795, allocations: 0.771 MB / 469.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.4798, allocations: 107.4 kB / 469.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4798, allocations: 0 / 469.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Templates: time 0.03731/0.5172, allocations: 16.93 MB / 486.7 MB, free: 13.53 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches