Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 196.3 kB / 8.531 MB, free: 496 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.5 MB / 234.4 MB, free: 9.449 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 91.48 kB / 286.3 MB, free: 5.84 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 0 / 343.1 MB, free: 13.02 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2795, allocations: 51.45 MB / 394.6 MB, free: 47.38 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3854, allocations: 89.5 MB / 484.1 MB, free: 2.355 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.3857, allocations: 80.7 kB / 484.2 MB, free: 2.277 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.4889/0.8746, allocations: 140.8 MB / 0.6103 GB, free: 74.88 MB / 418.8 MB Notification: Performance of Transformations before backend: time 0.0002115/0.8748, allocations: 83.94 kB / 0.6104 GB, free: 74.8 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.0127/0.8875, allocations: 3.754 MB / 0.6141 GB, free: 70.99 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8876, allocations: 8.031 kB / 0.6141 GB, free: 70.98 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.894, allocations: 0.9635 MB / 0.615 GB, free: 70.01 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/0.8998, allocations: 2.437 MB / 0.6174 GB, free: 67.54 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.9, allocations: 128 kB / 0.6175 GB, free: 67.41 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.9014, allocations: 223.9 kB / 0.6178 GB, free: 67.2 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009797/0.9112, allocations: 4.21 MB / 0.6219 GB, free: 62.98 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.9243, allocations: 5.297 MB / 0.627 GB, free: 57.54 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.9245, allocations: 0 / 0.627 GB, free: 57.54 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.9258, allocations: 4 kB / 0.627 GB, free: 57.53 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003119/0.9261, allocations: 292.4 kB / 0.6273 GB, free: 57.24 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03332/0.9594, allocations: 18.14 MB / 0.645 GB, free: 38.55 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.9612, allocations: 1.251 MB / 0.6463 GB, free: 37.3 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/0.962, allocations: 0.6842 MB / 0.6469 GB, free: 36.62 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.9623, allocations: 189.1 kB / 0.6471 GB, free: 36.4 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.9623, allocations: 47.55 kB / 0.6472 GB, free: 36.34 MB / 418.8 MB Notification: Performance of pre-optimization done (n=106): time 3.928e-06/0.9624, allocations: 0 / 0.6472 GB, free: 36.34 MB / 418.8 MB Notification: Performance of matching and sorting (n=106): time 0.002457/0.9648, allocations: 1.333 MB / 0.6485 GB, free: 35 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.9649, allocations: 64.41 kB / 0.6485 GB, free: 34.93 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.967, allocations: 1.16 MB / 0.6497 GB, free: 33.75 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.9671, allocations: 25.7 kB / 0.6497 GB, free: 33.72 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/0.9679, allocations: 1.671 MB / 0.6513 GB, free: 32.02 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.9682, allocations: 366.8 kB / 0.6517 GB, free: 31.66 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.9683, allocations: 0 / 0.6517 GB, free: 31.66 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.9686, allocations: 443.1 kB / 0.6521 GB, free: 31.22 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.9698, allocations: 0.9023 MB / 0.653 GB, free: 30.31 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.9713, allocations: 1.87 MB / 0.6548 GB, free: 27.96 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.9735, allocations: 1.423 MB / 0.6562 GB, free: 26.54 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.9735, allocations: 8 kB / 0.6562 GB, free: 26.54 MB / 418.8 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004372/0.9779, allocations: 2.745 MB / 0.6589 GB, free: 23.78 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9779, allocations: 8.031 kB / 0.6589 GB, free: 23.77 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/0.978, allocations: 32 kB / 0.6589 GB, free: 23.74 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.449e-05/0.9781, allocations: 56 kB / 0.659 GB, free: 23.69 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.9799, allocations: 0.5225 MB / 0.6595 GB, free: 23.16 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-05/0.9799, allocations: 67.78 kB / 0.6595 GB, free: 23.1 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.9815, allocations: 249.1 kB / 0.6598 GB, free: 22.85 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.9818, allocations: 116 kB / 0.6599 GB, free: 22.74 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * 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.0003062/0.9821, allocations: 192 kB / 0.6601 GB, free: 22.54 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.9824, allocations: 118.5 kB / 0.6602 GB, free: 22.43 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.9851, allocations: 1.678 MB / 0.6618 GB, free: 20.73 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001651/0.9867, allocations: 1.207 MB / 0.663 GB, free: 19.52 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9868, allocations: 4 kB / 0.663 GB, free: 19.51 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.9868, allocations: 3.984 kB / 0.663 GB, free: 19.51 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/1.004, allocations: 14.88 MB / 0.6775 GB, free: 3.508 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-05/1.004, allocations: 24.03 kB / 0.6776 GB, free: 3.484 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.005, allocations: 223.6 kB / 0.6778 GB, free: 3.266 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/1.005, allocations: 32 kB / 0.6778 GB, free: 3.234 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/1.006, allocations: 35.98 kB / 0.6778 GB, free: 3.199 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/1.006, allocations: 43.8 kB / 0.6779 GB, free: 3.156 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/1.006, allocations: 35.88 kB / 0.6779 GB, free: 3.121 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004687/1.01, allocations: 4.252 MB / 0.6821 GB, free: 14.02 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006987/1.011, allocations: 243.2 kB / 0.6823 GB, free: 13.77 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/1.012, allocations: 35.97 kB / 0.6823 GB, free: 13.73 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.013, allocations: 56.02 kB / 0.6824 GB, free: 13.68 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/1.013, allocations: 127.3 kB / 0.6825 GB, free: 13.55 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.013, allocations: 63.98 kB / 0.6826 GB, free: 13.49 MB / 434.8 MB Notification: Performance of sort global known variables: time 0.002043/1.015, allocations: 0.8515 MB / 0.6834 GB, free: 12.62 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.003595/1.019, allocations: 0.8272 MB / 0.6842 GB, free: 11.79 MB / 434.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 99 * 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 (107): * Single equations (assignments): 103 * 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.0006361/1.02, allocations: 221.2 kB / 0.6844 GB, free: 11.57 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.003574/1.023, allocations: 1.988 MB / 0.6864 GB, free: 9.582 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 2.038e-05/1.023, allocations: 4.688 kB / 0.6864 GB, free: 9.578 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.024, allocations: 0.7112 MB / 0.6871 GB, free: 8.871 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.026, allocations: 294.9 kB / 0.6873 GB, free: 8.59 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.04, allocations: 5.431 MB / 0.6926 GB, free: 2.789 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1867/1.227, allocations: 2.998 MB / 0.6956 GB, free: 129.3 MB / 434.8 MB Notification: Performance of SimCode: time 1.984e-06/1.227, allocations: 0 / 0.6956 GB, free: 129.3 MB / 434.8 MB Notification: Performance of Templates: time 0.03286/1.26, allocations: 20.3 MB / 0.7154 GB, free: 128.4 MB / 434.8 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches