Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 179.2 kB / 8.474 MB, free: 1.867 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.133/1.133, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 97.91 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.65e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07647, allocations: 47.57 MB / 362.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.3056, allocations: 79.65 MB / 442.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.306, allocations: 67.28 kB / 442.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04026/0.3463, allocations: 18.09 MB / 460.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.361e-05/0.3464, allocations: 32.97 kB / 460.4 MB, free: 4.812 MB / 314.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.002098/0.3485, allocations: 1.325 MB / 461.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3486, allocations: 9.156 kB / 461.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.3488, allocations: 143.1 kB / 461.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3503, allocations: 0.8632 MB / 462.7 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.3503, allocations: 35.41 kB / 462.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.3505, allocations: 67.34 kB / 462.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001673/0.3522, allocations: 1.148 MB / 464 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.354, allocations: 1.337 MB / 465.3 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3541, allocations: 5.375 kB / 465.3 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.3541, allocations: 5.469 kB / 465.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.3542, allocations: 26.88 kB / 465.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.3598, allocations: 4.091 MB / 469.4 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.3604, allocations: 0.5462 MB / 470 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.3612, allocations: 0.5186 MB / 470.5 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3612, allocations: 5.562 kB / 470.5 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3613, allocations: 42.72 kB / 470.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.555e-06/0.3613, allocations: 0 / 470.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.002445/0.3637, allocations: 1.638 MB / 472.2 MB, free: 136 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.3638, allocations: 56.47 kB / 472.2 MB, free: 72 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.3646, allocations: 0.6966 MB / 472.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.3647, allocations: 25.7 kB / 473 MB, free: 15.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.365, allocations: 461.3 kB / 473.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3651, allocations: 170.8 kB / 473.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.3651, allocations: 1.094 kB / 473.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3653, allocations: 381.4 kB / 473.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.3657, allocations: 299.2 kB / 474.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.3662, allocations: 400.2 kB / 474.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3666, allocations: 367.7 kB / 475 MB, free: 14.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3666, allocations: 2.469 kB / 475 MB, free: 14.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001121/0.3677, allocations: 0.8683 MB / 475.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3677, allocations: 8.031 kB / 475.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3677, allocations: 0 / 475.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.368, allocations: 114.6 kB / 476 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.3685, allocations: 126.4 kB / 476.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.3705, allocations: 2.057 MB / 478.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3708, allocations: 23.95 kB / 478.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.3709, allocations: 19.75 kB / 478.2 MB, free: 12.09 MB / 330.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.0001203/0.371, allocations: 104.9 kB / 478.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3711, allocations: 75.09 kB / 478.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.3713, allocations: 85.53 kB / 478.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3713, allocations: 8 kB / 478.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.3713, allocations: 0 / 478.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3713, allocations: 3.938 kB / 478.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.3739, allocations: 1.85 MB / 480.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3739, allocations: 4.031 kB / 480.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.3743, allocations: 95.5 kB / 480.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.3745, allocations: 106.4 kB / 480.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3746, allocations: 11.98 kB / 480.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.3763, allocations: 2.053 MB / 482.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3764, allocations: 3.906 kB / 482.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001423/0.3778, allocations: 1.263 MB / 483.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.378, allocations: 161.5 kB / 484 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.3781, allocations: 5.188 kB / 484 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.3785, allocations: 44.02 kB / 484.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.3786, allocations: 32.3 kB / 484.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.3787, allocations: 19.81 kB / 484.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006491/0.3793, allocations: 0.5454 MB / 484.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007371/0.3801, allocations: 192 kB / 484.8 MB, free: 6.438 MB / 330.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.0001701/0.3802, allocations: 99.19 kB / 484.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3813, allocations: 0.7748 MB / 485.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3813, allocations: 0 / 485.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.382, allocations: 475.1 kB / 486.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.3827, allocations: 131.4 kB / 486.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.3858, allocations: 1.77 MB / 488.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.3868, allocations: 1.409 MB / 489.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3868, allocations: 0 / 489.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of Templates: time 0.01549/0.4023, allocations: 8.564 MB / 498.1 MB, free: 9.172 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches