Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [: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 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 182 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.4 MB / 229.9 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009773/0.0009775, allocations: 97.28 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.151e-06, allocations: 0 / 336.5 MB, free: 9.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 50.4 MB / 386.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08744/0.2939, allocations: 80.99 MB / 467.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.2942, allocations: 67.91 kB / 468 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04647/0.3407, allocations: 18.58 MB / 486.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.3408, allocations: 39.86 kB / 486.6 MB, free: 3.047 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002275/0.3431, allocations: 1.337 MB / 487.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3431, allocations: 12.03 kB / 487.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.3433, allocations: 138.4 kB / 488.1 MB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.3447, allocations: 0.857 MB / 488.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.3447, allocations: 36 kB / 489 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3449, allocations: 64 kB / 489 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/0.3467, allocations: 1.141 MB / 490.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.3487, allocations: 1.324 MB / 491.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3488, allocations: 0 / 491.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.3489, allocations: 7.906 kB / 491.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.3489, allocations: 27.94 kB / 491.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006045/0.3549, allocations: 4.08 MB / 495.6 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.3556, allocations: 0.5437 MB / 496.1 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.3564, allocations: 0.522 MB / 496.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3564, allocations: 4.438 kB / 496.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3565, allocations: 43 kB / 496.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.834e-06/0.3565, allocations: 0 / 496.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002412/0.3589, allocations: 1.625 MB / 498.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3589, allocations: 55.84 kB / 498.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.3598, allocations: 0.6947 MB / 499.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.3598, allocations: 25.7 kB / 499.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.3601, allocations: 450.5 kB / 499.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3602, allocations: 173.4 kB / 499.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.3602, allocations: 0 / 499.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3604, allocations: 386.7 kB / 0.4884 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.3608, allocations: 297.1 kB / 0.4887 GB, free: 4.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.3612, allocations: 395 kB / 0.489 GB, free: 4.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.3617, allocations: 369.1 kB / 0.4894 GB, free: 4.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3617, allocations: 0 / 0.4894 GB, free: 4.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001227/0.3629, allocations: 0.8829 MB / 0.4902 GB, free: 3.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.363, allocations: 7.281 kB / 0.4903 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.363, allocations: 4 kB / 0.4903 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.3632, allocations: 104.8 kB / 0.4904 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.3638, allocations: 131.9 kB / 0.4905 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.3659, allocations: 2.048 MB / 0.4925 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.3662, allocations: 20.14 kB / 0.4925 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.3663, allocations: 19.94 kB / 0.4925 GB, free: 0.7148 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.3664, allocations: 119.7 kB / 0.4926 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3666, allocations: 75.14 kB / 0.4927 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.3667, allocations: 82.61 kB / 0.4928 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.3667, allocations: 7.984 kB / 0.4928 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3667, allocations: 4 kB / 0.4928 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3667, allocations: 0 / 0.4928 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09993/0.4667, allocations: 1.833 MB / 0.4946 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4667, allocations: 3.812 kB / 0.4946 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.4671, allocations: 90.5 kB / 0.4947 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.4673, allocations: 110.2 kB / 0.4948 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.4673, allocations: 3.656 kB / 0.4948 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.4687, allocations: 2.051 MB / 0.4968 GB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4687, allocations: 3.469 kB / 0.4968 GB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001126/0.4699, allocations: 1.271 MB / 0.498 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.47, allocations: 158.8 kB / 0.4982 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4701, allocations: 6.594 kB / 0.4982 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.4706, allocations: 46.84 kB / 0.4982 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.4706, allocations: 33.75 kB / 0.4983 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.4707, allocations: 19.03 kB / 0.4983 GB, free: 129.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004729/0.4712, allocations: 0.536 MB / 0.4988 GB, free: 129.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.4718, allocations: 192.1 kB / 0.499 GB, free: 129.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.4719, allocations: 103.8 kB / 0.4991 GB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008773/0.4728, allocations: 0.7845 MB / 0.4999 GB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4728, allocations: 0.75 kB / 0.4999 GB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.4733, allocations: 464.3 kB / 0.5003 GB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.474, allocations: 137.5 kB / 0.5004 GB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.4764, allocations: 1.758 MB / 0.5021 GB, free: 128.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/0.4771, allocations: 1.404 MB / 0.5035 GB, free: 127.8 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4771, allocations: 7.125 kB / 0.5035 GB, free: 127.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01277/0.4899, allocations: 8.552 MB / 0.5119 GB, free: 127.6 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches