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.001372/0.001372, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001043/0.001043, allocations: 143.8 kB / 24.97 MB, free: 8.816 MB / 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 0.9627/0.9627, allocations: 173.4 MB / 201.5 MB, free: 9.332 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 2.063e-06/2.063e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.967e-05, allocations: 2.312 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004893/0.004923, allocations: 2.853 MB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.007171, allocations: 1.125 MB / 272.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.007404, allocations: 11.94 kB / 272.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.008932, allocations: 0.6378 MB / 272.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.00941, allocations: 142.9 kB / 272.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.01073, allocations: 0.664 MB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.01127, allocations: 302.4 kB / 273.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.01179, allocations: 227.2 kB / 274 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.01213, allocations: 195.5 kB / 274.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.01237, allocations: 131.7 kB / 274.3 MB, free: 440 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.01242, allocations: 24 kB / 274.4 MB, free: 416 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.01292, allocations: 167.7 kB / 274.5 MB, free: 248 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.01298, allocations: 75.69 kB / 274.6 MB, free: 172 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.01313, allocations: 91.78 kB / 274.7 MB, free: 80 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.01391, allocations: 378.7 kB / 275.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.01391, allocations: 0 / 275.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01392, allocations: 0 / 275.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.01393, allocations: 4 kB / 275.1 MB, free: 15.7 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.001762/0.01569, allocations: 0.7572 MB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.01574, allocations: 16.92 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.01666, allocations: 172.5 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.01702, allocations: 204.8 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.01705, allocations: 21.03 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.01711, allocations: 40.36 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.01764, allocations: 267.2 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.01766, allocations: 192 / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.0177, allocations: 23.94 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.01771, allocations: 8 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.01807, allocations: 131.8 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01994, allocations: 1.128 MB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.02043, allocations: 218 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.02058, allocations: 71.28 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.543e-05/0.02066, allocations: 15.98 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.02069, allocations: 41.33 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.835e-06/0.0207, allocations: 0 / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001137/0.02183, allocations: 352.2 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.02188, allocations: 59.39 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.02223, allocations: 213.8 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.02228, allocations: 29.7 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.02243, allocations: 227.1 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.02253, allocations: 91.23 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.02265, allocations: 63.62 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.02283, allocations: 0.4962 MB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.02298, allocations: 48.41 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.02316, allocations: 126.8 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.02335, allocations: 190.8 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.02336, allocations: 0 / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003977/0.02376, allocations: 271.2 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.02378, allocations: 8 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02379, allocations: 4.156 kB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.02407, allocations: 79.62 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.02417, allocations: 43.91 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.02559, allocations: 2.329 MB / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.02567, allocations: 31.72 kB / 282.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.02568, allocations: 12 kB / 282.8 MB, free: 7.531 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 0.0001736/0.02586, allocations: 168.5 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.02589, allocations: 23.94 kB / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.02621, allocations: 236.8 kB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02622, allocations: 4 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02622, allocations: 0 / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.02622, allocations: 3.938 kB / 283.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.02678, allocations: 0.5867 MB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02678, allocations: 4 kB / 283.8 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.02684, allocations: 27.98 kB / 283.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.02701, allocations: 79.5 kB / 283.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.02702, allocations: 4 kB / 283.9 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.02834, allocations: 2.317 MB / 286.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02835, allocations: 3.938 kB / 286.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.0287, allocations: 422.2 kB / 286.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.02875, allocations: 27.89 kB / 286.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.02876, allocations: 4 kB / 286.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.02882, allocations: 7.938 kB / 286.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.02885, allocations: 19.95 kB / 286.7 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.02886, allocations: 4 kB / 286.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.02892, allocations: 163 kB / 286.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02892, allocations: 0 / 286.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.02924, allocations: 103.7 kB / 287 MB, free: 3.137 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.0001944/0.02944, allocations: 123.2 kB / 287.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.02984, allocations: 367.8 kB / 287.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.02985, allocations: 0 / 287.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.03003, allocations: 288.3 kB / 287.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.03028, allocations: 20 kB / 287.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.03146, allocations: 0.5186 MB / 288.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.03151, allocations: 88.31 kB / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.03157, allocations: 21.94 kB / 288.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.0316, allocations: 16.5 kB / 288.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0316, allocations: 0 / 288.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of Templates: time 0.09867/0.1303, allocations: 2.636 MB / 291 MB, free: 32.2 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: 2.848205550806597]