Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [: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.002455/0.002454, allocations: 184.1 kB / 8.156 MB, free: 2.113 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.685/1.685, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.0014/0.001399, allocations: 82.95 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.836e-06/9.027e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2527, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4433, allocations: 84.94 MB / 446.8 MB, free: 1.109 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.4437, allocations: 75.95 kB / 446.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1117/0.5554, allocations: 28.25 MB / 475.1 MB, free: 4.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.012e-05/0.5555, allocations: 20 kB / 475.1 MB, free: 4.48 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004256/0.5598, allocations: 1.102 MB / 476.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5599, allocations: 8.031 kB / 476.2 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008561/0.5684, allocations: 0.7559 MB / 477 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5698, allocations: 459.9 kB / 477.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.5699, allocations: 40 kB / 477.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.5703, allocations: 68.45 kB / 477.5 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003753/0.574, allocations: 1.016 MB / 478.6 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.5773, allocations: 0.8786 MB / 479.4 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.5774, allocations: 11.92 kB / 479.5 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.5776, allocations: 0 / 479.5 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.5776, allocations: 24 kB / 479.5 MB, free: 0 / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.5893, allocations: 4.379 MB / 483.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.5911, allocations: 0.6377 MB / 484.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.5918, allocations: 256.4 kB / 484.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.592, allocations: 101.7 kB / 484.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.5921, allocations: 47.16 kB / 484.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 3.687e-06/0.5921, allocations: 0 / 484.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002283/0.5944, allocations: 0.5424 MB / 485.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.5945, allocations: 119.5 kB / 485.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.595, allocations: 263.2 kB / 485.8 MB, free: 9.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/0.5951, allocations: 29.7 kB / 485.8 MB, free: 9.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.5955, allocations: 0.4925 MB / 486.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.5958, allocations: 236.5 kB / 486.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.5959, allocations: 1.219 kB / 486.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5961, allocations: 350.7 kB / 486.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007679/0.5969, allocations: 218 kB / 487.1 MB, free: 7.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.598, allocations: 0.5221 MB / 487.6 MB, free: 7.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.5995, allocations: 354.9 kB / 488 MB, free: 6.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.5996, allocations: 4 kB / 488 MB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002965/0.6025, allocations: 0.816 MB / 488.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.6026, allocations: 4 kB / 488.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.6027, allocations: 12 kB / 488.8 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/0.6027, allocations: 16 kB / 488.8 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.6046, allocations: 240.1 kB / 489.1 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/0.6047, allocations: 19.94 kB / 489.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.6057, allocations: 67.27 kB / 489.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.6059, allocations: 45.41 kB / 489.2 MB, free: 5.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0002159/0.6061, allocations: 61.33 kB / 489.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.6063, allocations: 43.44 kB / 489.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.6089, allocations: 0.676 MB / 490 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.609, allocations: 8 kB / 490 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.609, allocations: 4 kB / 490 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.609, allocations: 7.984 kB / 490 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.6135, allocations: 1.553 MB / 491.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.6136, allocations: 0 / 491.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.615, allocations: 159.7 kB / 491.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.6151, allocations: 8 kB / 491.7 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.6152, allocations: 7.984 kB / 491.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.6152, allocations: 0 / 491.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.6152, allocations: 4 kB / 491.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002906/0.6181, allocations: 1.137 MB / 492.9 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.6184, allocations: 145.4 kB / 493 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6185, allocations: 0 / 493 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.6193, allocations: 15.98 kB / 493 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6195, allocations: 40.59 kB / 493.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.6196, allocations: 24.05 kB / 493.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003066/0.6199, allocations: 183.1 kB / 493.3 MB, free: 1.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001331/0.6213, allocations: 235 kB / 493.5 MB, free: 1.242 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.0003801/0.6217, allocations: 143 kB / 493.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001822/0.6235, allocations: 0.634 MB / 494.3 MB, free: 476 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.6236, allocations: 0 / 494.3 MB, free: 476 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.6244, allocations: 298.7 kB / 494.6 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.625, allocations: 25.39 kB / 494.6 MB, free: 152 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.6318, allocations: 1.574 MB / 496.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.6331, allocations: 1.013 MB / 497.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.532e-06/0.6331, allocations: 0 / 497.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of Templates: time 0.02026/0.6534, allocations: 8.114 MB / 0.4934 GB, free: 5.395 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches