Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [: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.001659/0.001659, allocations: 180.1 kB / 8.132 MB, free: 2.199 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.242/1.242, allocations: 221.4 MB / 229.9 MB, free: 3.039 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.0009273/0.0009273, allocations: 93.58 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.033e-06, allocations: 0 / 336.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1832, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09237/0.2757, allocations: 91.92 MB / 478.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.2759, allocations: 79.95 kB / 478.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2928/0.5687, allocations: 73.71 MB / 0.5397 GB, free: 68.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000152/0.5689, allocations: 87.81 kB / 0.5398 GB, free: 68.28 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.00469/0.5736, allocations: 2.911 MB / 0.5426 GB, free: 65.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5736, allocations: 8.031 kB / 0.5426 GB, free: 65.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.5745, allocations: 403.6 kB / 0.543 GB, free: 64.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.5779, allocations: 2.188 MB / 0.5451 GB, free: 62.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.578, allocations: 104 kB / 0.5452 GB, free: 62.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.5783, allocations: 164 kB / 0.5454 GB, free: 62.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004009/0.5824, allocations: 2.991 MB / 0.5483 GB, free: 59.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/0.5871, allocations: 3.665 MB / 0.5519 GB, free: 55.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.339e-05/0.5872, allocations: 4 kB / 0.5519 GB, free: 55.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.5875, allocations: 0 / 0.5519 GB, free: 55.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-05/0.5876, allocations: 141.9 kB / 0.552 GB, free: 55.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.6016, allocations: 10.5 MB / 0.5623 GB, free: 44.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.6033, allocations: 1.514 MB / 0.5638 GB, free: 43.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.6048, allocations: 1.362 MB / 0.5651 GB, free: 41.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.6051, allocations: 141.9 kB / 0.5652 GB, free: 41.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.6051, allocations: 43.56 kB / 0.5653 GB, free: 41.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.416e-06/0.6051, allocations: 0 / 0.5653 GB, free: 41.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.006678/0.6118, allocations: 4.319 MB / 0.5695 GB, free: 37.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.6119, allocations: 90.42 kB / 0.5696 GB, free: 37.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.6137, allocations: 1.46 MB / 0.571 GB, free: 35.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.6138, allocations: 29.7 kB / 0.571 GB, free: 35.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.6142, allocations: 1.087 MB / 0.5721 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.6145, allocations: 437.4 kB / 0.5725 GB, free: 34.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.6145, allocations: 0 / 0.5725 GB, free: 34.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.6146, allocations: 365.9 kB / 0.5728 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.6155, allocations: 0.7926 MB / 0.5736 GB, free: 33.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009948/0.6165, allocations: 1.13 MB / 0.5747 GB, free: 31.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6177, allocations: 1.009 MB / 0.5757 GB, free: 30.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6178, allocations: 4 kB / 0.5757 GB, free: 30.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00322/0.621, allocations: 2.387 MB / 0.578 GB, free: 28.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.621, allocations: 4 kB / 0.578 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.6211, allocations: 12 kB / 0.5781 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009304/0.622, allocations: 376.5 kB / 0.5784 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.6234, allocations: 323.6 kB / 0.5787 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/0.6275, allocations: 3.959 MB / 0.5826 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.6287, allocations: 55.8 kB / 0.5826 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6289, allocations: 59.98 kB / 0.5827 GB, free: 23.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.6291, allocations: 146 kB / 0.5828 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.6294, allocations: 177.8 kB / 0.583 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.6324, allocations: 2.082 MB / 0.585 GB, free: 21.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.6324, allocations: 12 kB / 0.5851 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6324, allocations: 8 kB / 0.5851 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.6324, allocations: 7.969 kB / 0.5851 GB, free: 21.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.6388, allocations: 4.674 MB / 0.5896 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.6389, allocations: 4 kB / 0.5896 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.6399, allocations: 215.7 kB / 0.5898 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.6408, allocations: 365.1 kB / 0.5902 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.6409, allocations: 19.98 kB / 0.5902 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.6449, allocations: 3.933 MB / 0.5941 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.6449, allocations: 4 kB / 0.5941 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003783/0.6487, allocations: 3.29 MB / 0.5973 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.6495, allocations: 454.7 kB / 0.5977 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.6498, allocations: 7.984 kB / 0.5977 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.6508, allocations: 68 kB / 0.5978 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.651, allocations: 80.8 kB / 0.5979 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.6511, allocations: 39.98 kB / 0.5979 GB, free: 7.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001263/0.6524, allocations: 1.111 MB / 0.599 GB, free: 6.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001498/0.6539, allocations: 0.496 MB / 0.5995 GB, free: 6.004 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003529/0.6542, allocations: 210.9 kB / 0.5997 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.6568, allocations: 2.173 MB / 0.6018 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6568, allocations: 2.438 kB / 0.6018 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.6583, allocations: 1.23 MB / 0.603 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.6598, allocations: 340.9 kB / 0.6033 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.6679, allocations: 4.643 MB / 0.6078 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002795/0.6707, allocations: 2.588 MB / 0.6104 GB, free: 10.63 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6708, allocations: 0 / 0.6104 GB, free: 10.63 MB / 394.7 MB Notification: Performance of Templates: time 0.04246/0.7132, allocations: 24.49 MB / 0.6343 GB, free: 2.359 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches