Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [: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.002556/0.002555, allocations: 178.7 kB / 8.151 MB, free: 2.184 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.809/1.809, allocations: 205.2 MB / 213.7 MB, free: 14.02 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.001274/0.001274, allocations: 92.05 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/8.896e-06, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2362, allocations: 47.55 MB / 361.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3619, allocations: 79.06 MB / 440.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.3623, allocations: 80.45 kB / 441 MB, free: 6.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04136/0.4037, allocations: 10.68 MB / 451.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4038, allocations: 6.344 kB / 451.7 MB, free: 12.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001874/0.4056, allocations: 0.6074 MB / 452.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.855e-05/0.4057, allocations: 12.03 kB / 452.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.4069, allocations: 107.5 kB / 452.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.4075, allocations: 262.9 kB / 452.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.4075, allocations: 8 kB / 452.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.4076, allocations: 24 kB / 452.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007256/0.4083, allocations: 213.3 kB / 452.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.4091, allocations: 271.8 kB / 453.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.4092, allocations: 7.906 kB / 453.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.4092, allocations: 0 / 453.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4092, allocations: 11.98 kB / 453.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.4124, allocations: 1.388 MB / 454.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.413, allocations: 197.3 kB / 454.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.4132, allocations: 92.84 kB / 454.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.4134, allocations: 85.11 kB / 454.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4135, allocations: 34.56 kB / 455 MB, free: 8.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.337e-06/0.4135, allocations: 0 / 455 MB, free: 8.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00109/0.4146, allocations: 242.5 kB / 455.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4146, allocations: 59.41 kB / 455.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.4148, allocations: 132.3 kB / 455.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4149, allocations: 25.7 kB / 455.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.415, allocations: 238.3 kB / 455.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.4151, allocations: 91.53 kB / 455.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.4152, allocations: 0 / 455.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4153, allocations: 322.8 kB / 456.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.4155, allocations: 60.56 kB / 456.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.4158, allocations: 123 kB / 456.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.4162, allocations: 85.12 kB / 456.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.4162, allocations: 4 kB / 456.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001087/0.4173, allocations: 300.4 kB / 456.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4173, allocations: 8 kB / 456.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4174, allocations: 2.062 kB / 456.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.4178, allocations: 80.92 kB / 456.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.4182, allocations: 39.98 kB / 456.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.4209, allocations: 1.608 MB / 458.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.4212, allocations: 15.75 kB / 458.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.4212, allocations: 10.62 kB / 458.4 MB, free: 5.008 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.433e-05/0.4213, allocations: 33.77 kB / 458.4 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.4214, allocations: 15.81 kB / 458.4 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.4225, allocations: 280 kB / 458.7 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4225, allocations: 4 kB / 458.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4226, allocations: 0 / 458.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4226, allocations: 3.906 kB / 458.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4242, allocations: 0.655 MB / 459.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4243, allocations: 0 / 459.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.4245, allocations: 23.98 kB / 459.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.425, allocations: 72.75 kB / 459.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.425, allocations: 4 kB / 459.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.4278, allocations: 1.718 MB / 461.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4279, allocations: 3.906 kB / 461.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001202/0.4291, allocations: 428 kB / 461.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.4293, allocations: 109.6 kB / 461.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.4293, allocations: 7.984 kB / 461.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4295, allocations: 0 / 461.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.4296, allocations: 7.984 kB / 461.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4296, allocations: 8 kB / 461.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001393/0.4298, allocations: 115.3 kB / 461.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006036/0.4304, allocations: 91.62 kB / 461.9 MB, free: 1.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.000277/0.4307, allocations: 136.1 kB / 462.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009177/0.4316, allocations: 311.6 kB / 462.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4316, allocations: 0 / 462.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.4321, allocations: 209.6 kB / 462.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4324, allocations: 11.91 kB / 462.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4339, allocations: 413.9 kB / 463 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.4345, allocations: 0.7823 MB / 463.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4345, allocations: 1.219 kB / 463.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Templates: time 0.01018/0.4447, allocations: 4.046 MB / 467.8 MB, free: 11.29 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches