Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001251/0.001251, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 225.5 MB / 234.4 MB, free: 15.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008915/0.0008913, allocations: 107.2 kB / 286.4 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.763e-06, allocations: 0 / 343.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 51.47 MB / 394.6 MB, free: 33.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3433, allocations: 81.11 MB / 475.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.3437, allocations: 87.94 kB / 475.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.02978/0.3735, allocations: 11.59 MB / 487.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.3735, allocations: 4 kB / 487.4 MB, free: 4.172 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001502/0.375, allocations: 0.6113 MB / 488 MB, free: 3.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3751, allocations: 8.031 kB / 488 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.3759, allocations: 107.5 kB / 488.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.3764, allocations: 267.2 kB / 488.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3764, allocations: 11.94 kB / 488.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.3765, allocations: 20 kB / 488.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004449/0.377, allocations: 217.3 kB / 488.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.3775, allocations: 275.8 kB / 488.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.3775, allocations: 3.906 kB / 488.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.3775, allocations: 0 / 488.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3776, allocations: 8 kB / 488.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.3798, allocations: 1.388 MB / 490.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.3802, allocations: 194.8 kB / 490.5 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3803, allocations: 88.94 kB / 490.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.3806, allocations: 170.2 kB / 490.8 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3806, allocations: 38.56 kB / 490.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.3807, allocations: 0 / 490.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007221/0.3814, allocations: 248.9 kB / 491 MB, free: 264 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3814, allocations: 55.41 kB / 491.1 MB, free: 196 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3816, allocations: 133.7 kB / 491.2 MB, free: 52 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3816, allocations: 25.7 kB / 491.2 MB, free: 20 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3817, allocations: 175.9 kB / 491.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.3818, allocations: 82.69 kB / 491.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.3818, allocations: 3.938 kB / 491.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3819, allocations: 330.8 kB / 491.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.382, allocations: 68.55 kB / 491.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3822, allocations: 111.1 kB / 492 MB, free: 15.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3824, allocations: 90.08 kB / 492.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3824, allocations: 0 / 492.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006319/0.3831, allocations: 304.3 kB / 492.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3831, allocations: 8 kB / 492.4 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3831, allocations: 4.188 kB / 492.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.3835, allocations: 76.75 kB / 492.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3837, allocations: 35.98 kB / 492.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.3856, allocations: 1.732 MB / 494.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.3858, allocations: 11.84 kB / 494.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.3858, allocations: 12 kB / 494.3 MB, free: 12.84 MB / 378.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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.3859, allocations: 116.9 kB / 494.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.386, allocations: 15.81 kB / 494.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.3866, allocations: 275.1 kB / 494.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3866, allocations: 0 / 494.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3867, allocations: 4.281 kB / 494.7 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3867, allocations: 0 / 494.7 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3878, allocations: 0.6471 MB / 495.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3878, allocations: 3.938 kB / 495.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3879, allocations: 23.98 kB / 495.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002531/0.3882, allocations: 80.75 kB / 495.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3882, allocations: 0 / 495.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.3901, allocations: 1.724 MB / 497.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3902, allocations: 0 / 497.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008174/0.391, allocations: 433.2 kB / 497.6 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3911, allocations: 108.8 kB / 497.7 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3912, allocations: 3.984 kB / 497.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3913, allocations: 0 / 497.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.3914, allocations: 11.98 kB / 497.7 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3914, allocations: 12.06 kB / 497.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.91e-05/0.3915, allocations: 111.3 kB / 497.8 MB, free: 9.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005733/0.3921, allocations: 95.69 kB / 497.9 MB, free: 8.977 MB / 378.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.0003614/0.3924, allocations: 131.2 kB / 498 MB, free: 8.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.3931, allocations: 305.6 kB / 498.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3931, allocations: 0 / 498.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.3935, allocations: 217.9 kB / 498.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3937, allocations: 24.06 kB / 498.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009798/0.3947, allocations: 389.4 kB / 498.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.3952, allocations: 0.7784 MB / 499.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3952, allocations: 0 / 499.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of Templates: time 0.006965/0.4022, allocations: 2.947 MB / 0.4909 GB, free: 4.168 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches