Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 141.1 kB / 24.54 MB, free: 40 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.001/1.001, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.368e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003092/0.003116, allocations: 2.857 MB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.004673, allocations: 1.125 MB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.004812, allocations: 12 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.005912, allocations: 0.6454 MB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.006226, allocations: 143 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.007079, allocations: 0.6574 MB / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.007463, allocations: 310.4 kB / 273.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.007843, allocations: 227.2 kB / 274 MB, free: 452 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.008059, allocations: 187.6 kB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.008219, allocations: 135.6 kB / 274.3 MB, free: 128 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.008251, allocations: 28 kB / 274.3 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.008575, allocations: 163.7 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.008617, allocations: 59.75 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.008698, allocations: 115.7 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.009135, allocations: 370.8 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.009139, allocations: 0 / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.00914, allocations: 0 / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.009146, allocations: 0 / 275 MB, free: 15.4 MB / 266.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.001068/0.01021, allocations: 0.7611 MB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.01025, allocations: 12.86 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.01079, allocations: 184.5 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.0111, allocations: 196.8 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.01112, allocations: 29.03 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.01117, allocations: 32.38 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.01152, allocations: 267.3 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.01154, allocations: 4.188 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.01156, allocations: 11.94 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.01157, allocations: 12 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.01177, allocations: 139.8 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01305, allocations: 1.124 MB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.01338, allocations: 222.1 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.01346, allocations: 71.64 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.155e-05/0.01353, allocations: 8 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.01356, allocations: 45.38 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.01356, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007426/0.01431, allocations: 355.5 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.01434, allocations: 55.41 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01448, allocations: 217.8 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.0145, allocations: 29.7 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.01459, allocations: 227.1 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.01464, allocations: 83.23 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.0147, allocations: 63.64 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.01483, allocations: 0.504 MB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.01489, allocations: 32.55 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.015, allocations: 130.8 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01518, allocations: 182.8 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01518, allocations: 0 / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003488/0.01553, allocations: 279.2 kB / 280.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01555, allocations: 4 kB / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01556, allocations: 7.938 kB / 280.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.01582, allocations: 83.72 kB / 280.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.01591, allocations: 47.92 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.01735, allocations: 2.325 MB / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.01742, allocations: 31.72 kB / 282.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01744, allocations: 12 kB / 282.7 MB, free: 7.227 MB / 266.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 9.788e-05/0.01753, allocations: 172.5 kB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.01757, allocations: 19.91 kB / 282.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.01789, allocations: 233.4 kB / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.0179, allocations: 4 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.0179, allocations: 4 kB / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01791, allocations: 7.922 kB / 283.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.01848, allocations: 0.5789 MB / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01848, allocations: 12 kB / 283.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.01855, allocations: 27.92 kB / 283.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.01872, allocations: 71.84 kB / 283.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.01873, allocations: 8 kB / 283.8 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.0201, allocations: 2.325 MB / 286.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.0201, allocations: 3.938 kB / 286.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.02049, allocations: 410.4 kB / 286.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.02054, allocations: 31.89 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.02055, allocations: 4 kB / 286.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.02061, allocations: 7.938 kB / 286.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.02065, allocations: 27.94 kB / 286.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.02066, allocations: 4 kB / 286.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.02072, allocations: 159 kB / 286.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02072, allocations: 0 / 286.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.02107, allocations: 95.72 kB / 286.9 MB, free: 2.836 MB / 266.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.0002084/0.02128, allocations: 135.2 kB / 287 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.02173, allocations: 356.1 kB / 287.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02173, allocations: 3.938 kB / 287.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.02207, allocations: 296.3 kB / 287.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.02231, allocations: 12 kB / 287.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009589/0.02327, allocations: 0.525 MB / 288.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.02334, allocations: 92.25 kB / 288.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.0234, allocations: 21.94 kB / 288.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.02344, allocations: 16.5 kB / 288.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.02344, allocations: 0 / 288.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of Templates: time 0.1091/0.1325, allocations: 2.63 MB / 291 MB, free: 26.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.042355211917311]