Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009556/0.0009556, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009167/0.0009167, allocations: 171.6 kB / 25.33 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9856/0.9856, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.097e-05, allocations: 2.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00411/0.004141, allocations: 2.725 MB / 253.8 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.006049, allocations: 1.173 MB / 254.9 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.006194, allocations: 8 kB / 255 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.007478, allocations: 0.6455 MB / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.007912, allocations: 135 kB / 255.7 MB, free: 2.793 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.008951, allocations: 0.6338 MB / 256.4 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.009354, allocations: 306.4 kB / 256.7 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.009779, allocations: 231.1 kB / 256.9 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.01001, allocations: 187.6 kB / 257.1 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.01021, allocations: 127.7 kB / 257.2 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.01025, allocations: 28 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.01059, allocations: 175.6 kB / 257.4 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.01064, allocations: 55.77 kB / 257.5 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.01074, allocations: 99.77 kB / 257.5 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.0113, allocations: 378.7 kB / 257.9 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01131, allocations: 0 / 257.9 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01131, allocations: 4 kB / 257.9 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01131, allocations: 0 / 257.9 MB, free: 0.5898 MB / 234.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.001551/0.01286, allocations: 0.7611 MB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.01291, allocations: 12.03 kB / 258.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007517/0.01366, allocations: 172.5 kB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01397, allocations: 208.7 kB / 259.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.014, allocations: 25.03 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.01406, allocations: 36.38 kB / 259.1 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.01481, allocations: 263.3 kB / 259.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01483, allocations: 8.125 kB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.01486, allocations: 19.94 kB / 259.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.01488, allocations: 12 kB / 259.4 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.01517, allocations: 143.7 kB / 259.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.01702, allocations: 1.112 MB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.0175, allocations: 219 kB / 260.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.01764, allocations: 67.66 kB / 261 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.313e-05/0.01773, allocations: 16 kB / 261 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.01776, allocations: 33.39 kB / 261 MB, free: 13.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.01777, allocations: 0 / 261 MB, free: 13.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001078/0.01884, allocations: 357 kB / 261.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.01889, allocations: 59.41 kB / 261.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01908, allocations: 222.5 kB / 261.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.0191, allocations: 25.7 kB / 261.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01923, allocations: 227.1 kB / 261.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.0193, allocations: 95.22 kB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.0194, allocations: 59.64 kB / 262 MB, free: 12.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.01959, allocations: 0.4962 MB / 262.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.01969, allocations: 40.53 kB / 262.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.01986, allocations: 130.8 kB / 262.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.02014, allocations: 182.8 kB / 262.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02015, allocations: 0 / 262.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005562/0.0207, allocations: 279.1 kB / 263.1 MB, free: 11.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.02073, allocations: 8 kB / 263.1 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.02074, allocations: 3.938 kB / 263.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.02112, allocations: 87.72 kB / 263.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.02126, allocations: 35.98 kB / 263.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.02336, allocations: 2.321 MB / 265.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.02347, allocations: 35.72 kB / 265.6 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.02349, allocations: 8 kB / 265.6 MB, free: 8.438 MB / 250.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.0001378/0.02363, allocations: 172.6 kB / 265.8 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.02368, allocations: 23.84 kB / 265.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.02415, allocations: 234.3 kB / 266.1 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.02415, allocations: 7.938 kB / 266.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.02416, allocations: 0 / 266.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.02417, allocations: 3.938 kB / 266.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.02531, allocations: 0.5906 MB / 266.7 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02531, allocations: 0 / 266.7 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.02541, allocations: 27.92 kB / 266.7 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.02565, allocations: 75.84 kB / 266.8 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.02567, allocations: 8 kB / 266.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.02746, allocations: 2.317 MB / 269.1 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02746, allocations: 3.938 kB / 269.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.02802, allocations: 413 kB / 269.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.02808, allocations: 35.81 kB / 269.5 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.0281, allocations: 4 kB / 269.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.0282, allocations: 11.94 kB / 269.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.02825, allocations: 15.97 kB / 269.6 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.02826, allocations: 7.984 kB / 269.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.02836, allocations: 159.1 kB / 269.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02836, allocations: 0 / 269.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005958/0.02896, allocations: 95.78 kB / 269.8 MB, free: 4.027 MB / 250.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.0002479/0.02921, allocations: 131.1 kB / 269.9 MB, free: 3.891 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.02983, allocations: 358.7 kB / 270.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02984, allocations: 4.062 kB / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.03015, allocations: 293.2 kB / 270.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.0305, allocations: 19.98 kB / 270.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.03161, allocations: 0.5155 MB / 271.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.03167, allocations: 92.31 kB / 271.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.03174, allocations: 21.62 kB / 271.2 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.03178, allocations: 16.5 kB / 271.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03178, allocations: 11.88 kB / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of Templates: time 0.005116/0.0369, allocations: 2.547 MB / 273.8 MB, free: 15.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0385385169647634]