Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo): time 0.002365/0.002365, allocations: 176.3 kB / 8.149 MB, free: 2.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001295/0.001295, allocations: 94.45 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.077e-05, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 47.55 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4009, allocations: 80.21 MB / 442 MB, free: 5.863 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4012, allocations: 77.94 kB / 442.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07836/0.4796, allocations: 18.56 MB / 460.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.4798, allocations: 35.94 kB / 460.7 MB, free: 3.148 MB / 346.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.004286/0.4841, allocations: 1.341 MB / 462.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4842, allocations: 12.02 kB / 462.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.4848, allocations: 146.3 kB / 462.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.4878, allocations: 0.9137 MB / 463.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.4879, allocations: 36 kB / 463.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.4882, allocations: 67.94 kB / 463.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00352/0.4918, allocations: 1.145 MB / 464.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003881/0.4957, allocations: 1.365 MB / 465.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.4958, allocations: 0 / 465.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.496, allocations: 0 / 465.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.496, allocations: 28 kB / 465.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.5082, allocations: 4.15 MB / 469.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.5094, allocations: 0.543 MB / 470.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.511, allocations: 0.5995 MB / 471.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.5111, allocations: 8.438 kB / 471.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5112, allocations: 38.98 kB / 471.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.747e-06/0.5112, allocations: 0 / 471.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001603/0.5128, allocations: 0.5803 MB / 471.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.5128, allocations: 55.84 kB / 471.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.5144, allocations: 0.6829 MB / 472.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.623e-05/0.5145, allocations: 29.7 kB / 472.4 MB, free: 7.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.5148, allocations: 480.9 kB / 472.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.515, allocations: 173.4 kB / 473.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.5151, allocations: 0 / 473.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5152, allocations: 334.7 kB / 473.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/0.5159, allocations: 285.1 kB / 473.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.5167, allocations: 374.2 kB / 474.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.5175, allocations: 345.2 kB / 474.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5175, allocations: 3.938 kB / 474.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001718/0.5193, allocations: 0.7108 MB / 475.1 MB, free: 4.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5193, allocations: 7.984 kB / 475.1 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5193, allocations: 0 / 475.1 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.5194, allocations: 8 kB / 475.1 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5207, allocations: 160.1 kB / 475.3 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.5208, allocations: 8 kB / 475.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.5212, allocations: 43.52 kB / 475.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.5213, allocations: 19.98 kB / 475.3 MB, free: 4.117 MB / 362.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.0001445/0.5215, allocations: 45.36 kB / 475.4 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.5217, allocations: 71.16 kB / 475.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.5221, allocations: 82.61 kB / 475.5 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5221, allocations: 4 kB / 475.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5221, allocations: 0 / 475.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5221, allocations: 11.92 kB / 475.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.5264, allocations: 1.73 MB / 477.3 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.5265, allocations: 0 / 477.3 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.5276, allocations: 123.9 kB / 477.4 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.5276, allocations: 4 kB / 477.4 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.5277, allocations: 8.016 kB / 477.4 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.5277, allocations: 15.92 kB / 477.4 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.5277, allocations: 3.906 kB / 477.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002214/0.53, allocations: 1.08 MB / 478.5 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.5303, allocations: 168.1 kB / 478.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.5305, allocations: 3.984 kB / 478.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/0.5313, allocations: 43.97 kB / 478.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5314, allocations: 28.39 kB / 478.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.5315, allocations: 16 kB / 478.8 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001085/0.5326, allocations: 0.5341 MB / 479.3 MB, free: 32 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001059/0.5337, allocations: 266.7 kB / 479.6 MB, free: 15.77 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.0002114/0.5339, allocations: 107.2 kB / 479.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.5354, allocations: 0.6046 MB / 480.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5354, allocations: 0 / 480.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.5361, allocations: 305.4 kB / 480.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5374, allocations: 135.7 kB / 480.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.543, allocations: 1.83 MB / 482.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/0.5448, allocations: 1.389 MB / 483.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of SimCode: time 3.096e-06/0.5448, allocations: 0 / 483.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of Templates: time 0.02844/0.5733, allocations: 12.47 MB / 496.4 MB, free: 14.88 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches