Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001091/0.001091, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008533/0.0008534, allocations: 87.05 kB / 286.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.53e-06, allocations: 0 / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08335, allocations: 51.48 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/0.33, allocations: 92.73 MB / 487.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.3303, allocations: 86.27 kB / 487.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1953/0.5255, allocations: 73.66 MB / 0.5479 GB, free: 12.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00031/0.5259, allocations: 83.88 kB / 0.548 GB, free: 11.97 MB / 426.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.008085/0.534, allocations: 2.927 MB / 0.5509 GB, free: 8.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.534, allocations: 8.031 kB / 0.5509 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.5364, allocations: 447.7 kB / 0.5513 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/0.5419, allocations: 2.19 MB / 0.5535 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.5421, allocations: 100 kB / 0.5536 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009339/0.5431, allocations: 171.9 kB / 0.5537 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006552/0.5496, allocations: 2.987 MB / 0.5566 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008501/0.5582, allocations: 3.665 MB / 0.5602 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/0.5583, allocations: 0 / 0.5602 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005982/0.5589, allocations: 4 kB / 0.5602 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.559, allocations: 137.9 kB / 0.5604 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.5797, allocations: 10.5 MB / 0.5706 GB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.5821, allocations: 1.522 MB / 0.5721 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.5842, allocations: 1.354 MB / 0.5734 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.5845, allocations: 138 kB / 0.5735 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.5846, allocations: 51.56 kB / 0.5736 GB, free: 1.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.5846, allocations: 0 / 0.5736 GB, free: 1.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.1458/0.7304, allocations: 4.317 MB / 0.5778 GB, free: 126 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.7305, allocations: 92.02 kB / 0.5779 GB, free: 125.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.7324, allocations: 1.454 MB / 0.5793 GB, free: 125.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.718e-05/0.7325, allocations: 27.48 kB / 0.5793 GB, free: 125.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.7329, allocations: 1.089 MB / 0.5804 GB, free: 125.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.7331, allocations: 438 kB / 0.5808 GB, free: 125 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.7332, allocations: 0 / 0.5808 GB, free: 125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.7333, allocations: 368 kB / 0.5812 GB, free: 124.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008773/0.7342, allocations: 0.7931 MB / 0.582 GB, free: 124.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009881/0.7352, allocations: 1.135 MB / 0.5831 GB, free: 124.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.7364, allocations: 0.9953 MB / 0.584 GB, free: 124.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.7364, allocations: 0 / 0.584 GB, free: 124.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003297/0.7397, allocations: 2.398 MB / 0.5864 GB, free: 124.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7397, allocations: 7.344 kB / 0.5864 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.7398, allocations: 10.56 kB / 0.5864 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/0.7407, allocations: 381.9 kB / 0.5868 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7421, allocations: 317.9 kB / 0.5871 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.7463, allocations: 3.954 MB / 0.5909 GB, free: 122.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.7478, allocations: 47.67 kB / 0.591 GB, free: 122.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.748, allocations: 69.83 kB / 0.591 GB, free: 122.8 MB / 442.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.0002612/0.7483, allocations: 136.3 kB / 0.5912 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.7486, allocations: 175.5 kB / 0.5913 GB, free: 122.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.7517, allocations: 2.097 MB / 0.5934 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.7518, allocations: 13.5 kB / 0.5934 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7518, allocations: 5.125 kB / 0.5934 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.7518, allocations: 7.359 kB / 0.5934 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.7589, allocations: 4.668 MB / 0.598 GB, free: 122.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.7589, allocations: 11.06 kB / 0.598 GB, free: 122.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.76, allocations: 213.2 kB / 0.5982 GB, free: 122.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008925/0.7609, allocations: 370.2 kB / 0.5985 GB, free: 122.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.761, allocations: 13.89 kB / 0.5985 GB, free: 122.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.765, allocations: 3.922 MB / 0.6024 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7651, allocations: 10.62 kB / 0.6024 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004051/0.7691, allocations: 3.289 MB / 0.6056 GB, free: 120.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.7702, allocations: 458.4 kB / 0.606 GB, free: 120.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.7705, allocations: 7.344 kB / 0.606 GB, free: 120.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7715, allocations: 71.97 kB / 0.6061 GB, free: 120.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.7717, allocations: 70.06 kB / 0.6062 GB, free: 120.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.7718, allocations: 39.75 kB / 0.6062 GB, free: 120.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001467/0.7732, allocations: 1.106 MB / 0.6073 GB, free: 120 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001733/0.775, allocations: 0.5078 MB / 0.6078 GB, free: 120 MB / 442.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.0004054/0.7754, allocations: 201.8 kB / 0.608 GB, free: 119.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.7782, allocations: 2.188 MB / 0.6101 GB, free: 119.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7782, allocations: 0 / 0.6101 GB, free: 119.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.7797, allocations: 1.232 MB / 0.6113 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.7814, allocations: 341.1 kB / 0.6116 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009529/0.7909, allocations: 4.647 MB / 0.6162 GB, free: 118.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00331/0.7943, allocations: 2.596 MB / 0.6187 GB, free: 117.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7943, allocations: 0 / 0.6187 GB, free: 117.3 MB / 442.7 MB Notification: Performance of Templates: time 0.044/0.8383, allocations: 24.48 MB / 0.6426 GB, free: 116.4 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches