Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [: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.001564/0.001564, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000822/0.0008221, allocations: 90.83 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.102e-06, allocations: 0 / 343.1 MB, free: 8.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.08282, allocations: 51.47 MB / 394.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.3019, allocations: 82.05 MB / 476.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/0.3021, allocations: 67.98 kB / 476.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04232/0.3444, allocations: 19.1 MB / 495.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.435e-05/0.3445, allocations: 28 kB / 495.9 MB, free: 11.25 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002529/0.347, allocations: 1.365 MB / 497.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3471, allocations: 8.031 kB / 497.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/0.3478, allocations: 190.3 kB / 497.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.3493, allocations: 0.9134 MB / 498.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.3494, allocations: 36 kB / 498.4 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.3495, allocations: 67.91 kB / 498.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/0.3512, allocations: 1.134 MB / 499.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.3532, allocations: 1.338 MB / 0.4892 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3532, allocations: 1.125 kB / 0.4892 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.3533, allocations: 4 kB / 0.4892 GB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.3533, allocations: 28 kB / 0.4892 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/0.3593, allocations: 4.132 MB / 0.4932 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.3599, allocations: 0.5395 MB / 0.4938 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008422/0.3608, allocations: 0.6081 MB / 0.4943 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.3608, allocations: 8.438 kB / 0.4944 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3609, allocations: 46.91 kB / 0.4944 GB, free: 2.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.204e-06/0.3609, allocations: 0 / 0.4944 GB, free: 2.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.000813/0.3617, allocations: 0.5802 MB / 0.495 GB, free: 2.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.3617, allocations: 59.78 kB / 0.495 GB, free: 2.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.3625, allocations: 0.683 MB / 0.4957 GB, free: 1.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3626, allocations: 27.58 kB / 0.4957 GB, free: 1.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.3628, allocations: 458.4 kB / 0.4962 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3629, allocations: 177.4 kB / 0.4963 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.3629, allocations: 0 / 0.4963 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3631, allocations: 378.8 kB / 0.4967 GB, free: 436 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.3634, allocations: 285.1 kB / 0.497 GB, free: 152 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.3638, allocations: 374.2 kB / 0.4973 GB, free: 15.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.3642, allocations: 345.2 kB / 0.4976 GB, free: 15.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3643, allocations: 0 / 0.4976 GB, free: 15.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000957/0.3652, allocations: 0.7687 MB / 0.4984 GB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3652, allocations: 4 kB / 0.4984 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.3653, allocations: 4.859 kB / 0.4984 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3653, allocations: 4 kB / 0.4984 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.3659, allocations: 156.1 kB / 0.4986 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3659, allocations: 7.984 kB / 0.4986 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.3663, allocations: 43.52 kB / 0.4986 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.3664, allocations: 23.91 kB / 0.4986 GB, free: 14.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.3665, allocations: 116.9 kB / 0.4987 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3666, allocations: 71.16 kB / 0.4988 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.3667, allocations: 85.05 kB / 0.4989 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3667, allocations: 4 kB / 0.4989 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3668, allocations: 4 kB / 0.4989 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3668, allocations: 3.984 kB / 0.4989 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.3692, allocations: 1.715 MB / 0.5006 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.3692, allocations: 4 kB / 0.5006 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.3697, allocations: 115.9 kB / 0.5007 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3698, allocations: 7.906 kB / 0.5007 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.3698, allocations: 4 kB / 0.5007 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3698, allocations: 4 kB / 0.5007 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3698, allocations: 8.031 kB / 0.5007 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001116/0.3709, allocations: 1.08 MB / 0.5018 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3711, allocations: 168.1 kB / 0.5019 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3712, allocations: 8 kB / 0.5019 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.3717, allocations: 43.95 kB / 0.502 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.3717, allocations: 36.33 kB / 0.502 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3718, allocations: 11.91 kB / 0.502 GB, free: 10.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005874/0.3724, allocations: 0.5303 MB / 0.5025 GB, free: 10.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.373, allocations: 266.8 kB / 0.5028 GB, free: 10.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.3732, allocations: 115 kB / 0.5029 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007569/0.3739, allocations: 0.6125 MB / 0.5035 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3739, allocations: 0 / 0.5035 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.3743, allocations: 301.5 kB / 0.5038 GB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.375, allocations: 150.6 kB / 0.5039 GB, free: 8.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.3784, allocations: 1.813 MB / 0.5057 GB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.3798, allocations: 1.413 MB / 0.5071 GB, free: 5.547 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3798, allocations: 0 / 0.5071 GB, free: 5.547 MB / 378.7 MB Notification: Performance of Templates: time 0.01449/0.3943, allocations: 7.961 MB / 0.5149 GB, free: 13.75 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches