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.001531/0.001531, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001064/0.001064, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.776e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.08974, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.4912, allocations: 89.29 MB / 458.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4915, allocations: 81.88 kB / 458.5 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7781/1.27, allocations: 141.3 MB / 0.5857 GB, free: 91.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.701e-06/1.27, allocations: 0 / 0.5857 GB, free: 91.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002146/1.27, allocations: 93.09 kB / 0.5858 GB, free: 91.07 MB / 410.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.01787/1.288, allocations: 3.88 MB / 0.5896 GB, free: 89.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.288, allocations: 7.438 kB / 0.5896 GB, free: 89.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/1.303, allocations: 1.81 MB / 0.5914 GB, free: 88.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/1.311, allocations: 2.42 MB / 0.5937 GB, free: 86.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005273/1.311, allocations: 331 kB / 0.594 GB, free: 86.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/1.313, allocations: 421.3 kB / 0.5944 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/1.334, allocations: 6.819 MB / 0.6011 GB, free: 81.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002081/1.334, allocations: 4 kB / 0.6011 GB, free: 81.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/1.336, allocations: 183.1 kB / 0.6013 GB, free: 81.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/1.336, allocations: 275.6 kB / 0.6015 GB, free: 81.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.352, allocations: 5.74 MB / 0.6071 GB, free: 75.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06882/1.421, allocations: 21.35 MB / 0.628 GB, free: 54.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/1.439, allocations: 7.574 MB / 0.6354 GB, free: 45.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/1.45, allocations: 2.919 MB / 0.6382 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03681/1.487, allocations: 9.467 MB / 0.6475 GB, free: 33.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.487, allocations: 60.5 kB / 0.6475 GB, free: 33.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 9.357e-06/1.487, allocations: 0 / 0.6475 GB, free: 33.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01698/1.504, allocations: 4.248 MB / 0.6517 GB, free: 29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/1.504, allocations: 69.41 kB / 0.6518 GB, free: 28.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/1.508, allocations: 1.092 MB / 0.6528 GB, free: 27.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007163/1.508, allocations: 53.7 kB / 0.6529 GB, free: 27.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.51, allocations: 1.672 MB / 0.6545 GB, free: 26.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.511, allocations: 0.8927 MB / 0.6554 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/1.512, allocations: 52 kB / 0.6554 GB, free: 25.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003153/1.512, allocations: 449.8 kB / 0.6559 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/1.517, allocations: 1.907 MB / 0.6577 GB, free: 22.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/1.522, allocations: 2.677 MB / 0.6603 GB, free: 19.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005727/1.528, allocations: 2.374 MB / 0.6626 GB, free: 17.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/1.528, allocations: 8 kB / 0.6627 GB, free: 17.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01469/1.543, allocations: 5.447 MB / 0.668 GB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/1.543, allocations: 16 kB / 0.668 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-05/1.543, allocations: 24.84 kB / 0.668 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/1.546, allocations: 1.068 MB / 0.6691 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/1.55, allocations: 0.5265 MB / 0.6696 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/1.556, allocations: 3.874 MB / 0.6734 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/1.559, allocations: 364.3 kB / 0.6737 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008482/1.56, allocations: 136 kB / 0.6738 GB, free: 5.797 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007839/1.561, allocations: 264.1 kB / 0.6741 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/1.562, allocations: 157.9 kB / 0.6742 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.573, allocations: 4.617 MB / 0.6787 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0119/1.585, allocations: 4.213 MB / 0.6829 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/1.585, allocations: 0 / 0.6829 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.192e-05/1.586, allocations: 7.969 kB / 0.6829 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/1.613, allocations: 9.503 MB / 0.6921 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/1.613, allocations: 0 / 0.6921 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002404/1.615, allocations: 247.7 kB / 0.6924 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/1.619, allocations: 1.033 MB / 0.6934 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006404/1.619, allocations: 55.97 kB / 0.6934 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2952/1.915, allocations: 3.822 MB / 0.6972 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.915, allocations: 3.266 kB / 0.6972 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.933, allocations: 7.075 MB / 0.7041 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/1.934, allocations: 293.7 kB / 0.7044 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008346/1.935, allocations: 36.3 kB / 0.7044 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.937, allocations: 79.36 kB / 0.7045 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009571/1.938, allocations: 201.7 kB / 0.7047 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004698/1.938, allocations: 68.27 kB / 0.7047 GB, free: 101.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002304/1.941, allocations: 0.7875 MB / 0.7055 GB, free: 101.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/1.941, allocations: 1.875 kB / 0.7055 GB, free: 101.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005629/1.946, allocations: 0.9942 MB / 0.7065 GB, free: 101.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/1.948, allocations: 212.5 kB / 0.7067 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01358/1.961, allocations: 4.433 MB / 0.711 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.961, allocations: 0 / 0.711 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00595/1.967, allocations: 2.046 MB / 0.713 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.97, allocations: 266.5 kB / 0.7133 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/1.991, allocations: 7.378 MB / 0.7205 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004248/1.996, allocations: 2.966 MB / 0.7234 GB, free: 99.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.997, allocations: 140.3 kB / 0.7235 GB, free: 99.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.492e-06/1.997, allocations: 0.7656 kB / 0.7235 GB, free: 99.56 MB / 426.7 MB Notification: Performance of Templates: time 0.1651/2.162, allocations: 109.7 MB / 0.8307 GB, free: 19.19 MB / 426.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