Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00088/0.00088, allocations: 87.62 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003674/0.003674, allocations: 158.1 kB / 24.69 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.844/0.844, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.623e-05, allocations: 4.672 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00284/0.002856, allocations: 2.676 MB / 328.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003995, allocations: 1.148 MB / 329.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004109, allocations: 8 kB / 329.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.004925, allocations: 0.5987 MB / 330.3 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.005123, allocations: 142.9 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.005784, allocations: 0.6096 MB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.006075, allocations: 306.4 kB / 331.3 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.006383, allocations: 235.1 kB / 331.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.006552, allocations: 207.4 kB / 331.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.006677, allocations: 119.7 kB / 331.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.006703, allocations: 24 kB / 331.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.006909, allocations: 175.7 kB / 332.1 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.006941, allocations: 71.69 kB / 332.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.007007, allocations: 103.8 kB / 332.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.007419, allocations: 0.514 MB / 332.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.007421, allocations: 0 / 332.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007422, allocations: 0 / 332.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.007426, allocations: 0 / 332.7 MB, free: 8.52 MB / 298.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.0009157/0.008342, allocations: 0.6495 MB / 333.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.008372, allocations: 15.97 kB / 333.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.008757, allocations: 116.7 kB / 333.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.008999, allocations: 209.9 kB / 333.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.009014, allocations: 21.03 kB / 333.7 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.009053, allocations: 36.38 kB / 333.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.009387, allocations: 333.6 kB / 334.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.009401, allocations: 4.125 kB / 334.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.009425, allocations: 23.94 kB / 334.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.009432, allocations: 8 kB / 334.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.009945, allocations: 234.5 kB / 334.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.01105, allocations: 1.036 MB / 335.4 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.01137, allocations: 230.6 kB / 335.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.01146, allocations: 90.25 kB / 335.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.891e-05/0.01155, allocations: 23.98 kB / 335.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.01157, allocations: 38.42 kB / 335.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.233e-06/0.01157, allocations: 0 / 335.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.000686/0.01226, allocations: 416.7 kB / 336.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.01228, allocations: 51.41 kB / 336.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.01238, allocations: 164.9 kB / 336.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.01239, allocations: 29.7 kB / 336.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.01246, allocations: 184.3 kB / 336.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.0125, allocations: 91.2 kB / 336.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.01256, allocations: 57.94 kB / 336.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.01264, allocations: 322.8 kB / 337.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.01271, allocations: 72.53 kB / 337.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01282, allocations: 136.6 kB / 337.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.01302, allocations: 213.1 kB / 337.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01302, allocations: 0 / 337.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003394/0.01336, allocations: 324.4 kB / 337.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01337, allocations: 8 kB / 337.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01338, allocations: 4.156 kB / 337.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.01358, allocations: 84.75 kB / 337.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.01367, allocations: 39.97 kB / 337.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.01487, allocations: 1.888 MB / 339.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.01494, allocations: 27.81 kB / 339.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01495, allocations: 8 kB / 339.9 MB, free: 1.031 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.01506, allocations: 153.7 kB / 340 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.01508, allocations: 11.91 kB / 340 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.0154, allocations: 287.4 kB / 340.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01541, allocations: 4 kB / 340.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01541, allocations: 0 / 340.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01541, allocations: 3.938 kB / 340.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.01596, allocations: 0.577 MB / 340.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01596, allocations: 3.938 kB / 340.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.01602, allocations: 31.92 kB / 340.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.01615, allocations: 72.75 kB / 341 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01616, allocations: 12 kB / 341 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.01747, allocations: 1.884 MB / 342.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01747, allocations: 3.938 kB / 342.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.01784, allocations: 443.4 kB / 343.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.01789, allocations: 35.84 kB / 343.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.0179, allocations: 4 kB / 343.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.01796, allocations: 7.938 kB / 343.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.01798, allocations: 19.95 kB / 343.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01799, allocations: 12.12 kB / 343.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.01804, allocations: 117.9 kB / 343.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01804, allocations: 0 / 343.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.01832, allocations: 99.77 kB / 343.6 MB, free: 13.1 MB / 314.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.01849, allocations: 134.3 kB / 343.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.01886, allocations: 334.3 kB / 344.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01886, allocations: 0 / 344.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.01903, allocations: 242.4 kB / 344.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.01923, allocations: 28.12 kB / 344.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.01984, allocations: 0.5328 MB / 344.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.251e-05/0.01992, allocations: 150.5 kB / 345 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.01996, allocations: 20.5 kB / 345 MB, free: 11.59 MB / 314.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01996, allocations: 7.938 kB / 345 MB, free: 11.58 MB / 314.7 MB Notification: Performance of Templates: time 0.003937/0.02389, allocations: 4.192 MB / 349.2 MB, free: 7.387 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5168773010373116]