Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") [: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.0017/0.0017, allocations: 176.2 kB / 8.151 MB, free: 2.207 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.713/1.713, 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.001295/0.001294, allocations: 95.95 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.265e-05, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.3748, allocations: 78.13 MB / 440 MB, free: 7.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.3752, allocations: 73.92 kB / 440 MB, free: 7.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03602/0.4112, allocations: 7.773 MB / 447.8 MB, free: 136 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.4113, allocations: 8 kB / 447.8 MB, free: 128 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001811/0.4131, allocations: 0.7349 MB / 448.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4132, allocations: 12.03 kB / 448.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.4134, allocations: 67.23 kB / 448.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.4142, allocations: 354.6 kB / 449 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.4142, allocations: 16 kB / 449 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4143, allocations: 35.91 kB / 449 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009465/0.4153, allocations: 270 kB / 449.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4164, allocations: 381.4 kB / 449.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4164, allocations: 4 kB / 449.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.4165, allocations: 0 / 449.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4165, allocations: 13.97 kB / 449.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.4209, allocations: 1.633 MB / 451.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.4214, allocations: 185.7 kB / 451.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.4217, allocations: 119.3 kB / 451.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.4218, allocations: 4 kB / 451.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4218, allocations: 38.55 kB / 451.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.186e-06/0.4218, allocations: 0 / 451.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001972/0.4238, allocations: 0.7 MB / 452.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4239, allocations: 81.11 kB / 452.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.4244, allocations: 298 kB / 452.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.4245, allocations: 25.7 kB / 452.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.4246, allocations: 305.8 kB / 453 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4248, allocations: 110.5 kB / 453.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.4248, allocations: 0 / 453.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4249, allocations: 330.7 kB / 453.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.4252, allocations: 76.88 kB / 453.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.4256, allocations: 177.9 kB / 453.7 MB, free: 9.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.4259, allocations: 96.91 kB / 453.8 MB, free: 9.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4259, allocations: 0 / 453.8 MB, free: 9.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001089/0.427, allocations: 362.7 kB / 454.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.427, allocations: 8.031 kB / 454.2 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4271, allocations: 4 kB / 454.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.4275, allocations: 65.69 kB / 454.2 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.4282, allocations: 83.89 kB / 454.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.4301, allocations: 1.466 MB / 455.8 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.4304, allocations: 15.84 kB / 455.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.4305, allocations: 16.06 kB / 455.8 MB, free: 7.629 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.4306, allocations: 41.7 kB / 455.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.4308, allocations: 43.59 kB / 455.9 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.4309, allocations: 44.7 kB / 455.9 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.431, allocations: 4 kB / 455.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.431, allocations: 3.938 kB / 456 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.431, allocations: 4 kB / 456 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.4329, allocations: 0.8276 MB / 456.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4329, allocations: 0 / 456.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.4333, allocations: 47.97 kB / 456.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/0.4338, allocations: 85.58 kB / 456.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.4338, allocations: 0 / 456.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.437, allocations: 2.726 MB / 459.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.437, allocations: 4.062 kB / 459.6 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001257/0.4383, allocations: 0.5523 MB / 460.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.4384, allocations: 116.7 kB / 460.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-05/0.4385, allocations: 8 kB / 460.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.4392, allocations: 23.98 kB / 460.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.4393, allocations: 23.97 kB / 460.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.4393, allocations: 11.98 kB / 460.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004063/0.4397, allocations: 236.5 kB / 460.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007952/0.4405, allocations: 102.5 kB / 460.7 MB, free: 2.398 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002177/0.4408, allocations: 107.1 kB / 460.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000995/0.4418, allocations: 433.4 kB / 461.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4418, allocations: 0 / 461.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.4426, allocations: 335.5 kB / 461.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.4432, allocations: 37.39 kB / 461.6 MB, free: 1.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.4455, allocations: 0.7262 MB / 462.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/0.4462, allocations: 0.8767 MB / 463.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4462, allocations: 0 / 463.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Templates: time 0.01656/0.4628, allocations: 8.539 MB / 471.7 MB, free: 7.262 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches