Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002717/0.002722, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.607/3.607, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00187/0.001871, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006091/0.0006096, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2057, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01964/0.2254, allocations: 7.787 MB / 382.3 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.2367, allocations: 2.564 MB / 384.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.2394, allocations: 59.88 kB / 384.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.243, allocations: 425.6 kB / 385.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008176/0.2512, allocations: 0.9076 MB / 386.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.2557, allocations: 0.6352 MB / 386.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009069/0.2648, allocations: 2.597 MB / 389.5 MB, free: 428 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4337/0.6986, allocations: 8.093 MB / 397.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.7047, allocations: 1.446 MB / 399 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006579/0.7114, allocations: 1.688 MB / 400.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002228/0.7137, allocations: 251.5 kB / 401 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/0.7181, allocations: 427 kB / 401.4 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002706/0.7208, allocations: 0.7206 MB / 402.1 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.7242, allocations: 0.8212 MB / 402.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.7442, allocations: 6.81 MB / 409.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7443, allocations: 0 / 409.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.7443, allocations: 0 / 409.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002954/0.7446, allocations: 0 / 409.7 MB, free: 4.879 MB / 282.7 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.04792/0.7926, allocations: 4.279 MB / 414 MB, free: 2.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.7927, allocations: 9.219 kB / 414 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03962/0.8323, allocations: 2.58 MB / 416.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.8427, allocations: 2.134 MB / 418.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008664/0.8437, allocations: 342.2 kB / 419.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/0.847, allocations: 442.6 kB / 419.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03363/0.8808, allocations: 6.056 MB / 425.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003251/0.8812, allocations: 4 kB / 425.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002525/0.8837, allocations: 178.6 kB / 425.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005348/0.8843, allocations: 217.3 kB / 426 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/0.913, allocations: 5.771 MB / 431.7 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0859/0.999, allocations: 21.48 MB / 453.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02182/1.021, allocations: 8.975 MB / 462.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/1.036, allocations: 3.859 MB / 466 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/1.037, allocations: 30.75 kB / 466.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 8.295e-06/1.037, allocations: 0 / 466.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002851/1.039, allocations: 0.9133 MB / 467 MB, free: 13.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.04, allocations: 59.59 kB / 467 MB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008191/1.048, allocations: 2.07 MB / 469.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.048, allocations: 29.7 kB / 469.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003398/1.051, allocations: 2.226 MB / 471.4 MB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/1.052, allocations: 136.7 kB / 471.5 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/1.052, allocations: 48 kB / 471.5 MB, free: 8.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004553/1.053, allocations: 423.9 kB / 472 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/1.057, allocations: 0.9106 MB / 472.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006783/1.064, allocations: 2.279 MB / 475.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005707/1.07, allocations: 1.45 MB / 476.6 MB, free: 2.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.896e-05/1.07, allocations: 12 kB / 476.6 MB, free: 2.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01409/1.084, allocations: 3.161 MB / 479.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.084, allocations: 28 kB / 479.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/1.084, allocations: 48 kB / 479.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/1.084, allocations: 72 kB / 479.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005551/1.09, allocations: 0.5849 MB / 480.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002026/1.09, allocations: 95.64 kB / 480.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/1.096, allocations: 424.2 kB / 481 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007959/1.097, allocations: 152 kB / 481.2 MB, free: 14.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006814/1.104, allocations: 1.564 MB / 482.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006478/1.105, allocations: 134.2 kB / 482.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/1.107, allocations: 0.5634 MB / 483.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009283/1.108, allocations: 281.5 kB / 483.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.108, allocations: 3.938 kB / 483.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.108, allocations: 4 kB / 483.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/1.124, allocations: 3.384 MB / 487.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.124, allocations: 0 / 487.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/1.124, allocations: 31.92 kB / 487.1 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/1.124, allocations: 4 kB / 487.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/1.124, allocations: 12.23 kB / 487.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/1.124, allocations: 8 kB / 487.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.124, allocations: 4 kB / 487.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/1.127, allocations: 0.8734 MB / 488 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.129, allocations: 287.2 kB / 488.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007699/1.13, allocations: 8 kB / 488.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.132, allocations: 39.94 kB / 488.3 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.132, allocations: 19.88 kB / 488.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/1.132, allocations: 16.06 kB / 488.4 MB, free: 6.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0059/1.138, allocations: 1.379 MB / 489.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.487e-06/1.138, allocations: 0 / 489.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007204/1.145, allocations: 0.9387 MB / 490.7 MB, free: 4.348 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006405/1.146, allocations: 150.1 kB / 490.8 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006561/1.153, allocations: 1.677 MB / 492.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.153, allocations: 0 / 492.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/1.153, allocations: 149.4 kB / 492.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.157, allocations: 277.8 kB / 492.9 MB, free: 2.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/1.184, allocations: 6.978 MB / 499.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009419/1.194, allocations: 2.874 MB / 0.491 GB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.195, allocations: 131.4 kB / 0.4911 GB, free: 8.031 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/1.195, allocations: 0 / 0.4911 GB, free: 8.031 MB / 378.7 MB Notification: Performance of Templates: time 0.128/1.323, allocations: 36.85 MB / 0.5271 GB, free: 3.156 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches