Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.002048/0.002048, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002137/0.002137, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 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 1.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4647/0.4647, allocations: 34.26 MB / 295.3 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3.005e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008046/0.008076, allocations: 5.215 MB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.01157, allocations: 1.611 MB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.01187, allocations: 20 kB / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003987/0.01586, allocations: 1.684 MB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009356/0.01679, allocations: 321.4 kB / 386.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.01809, allocations: 0.514 MB / 386.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.0194, allocations: 0.8317 MB / 387.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.02047, allocations: 0.6312 MB / 388.1 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007873/0.02126, allocations: 0.5106 MB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/0.02191, allocations: 347.1 kB / 389 MB, free: 7.246 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.02207, allocations: 76 kB / 389 MB, free: 7.172 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000571/0.02264, allocations: 191.7 kB / 389.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.02282, allocations: 183.3 kB / 389.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.02319, allocations: 291.3 kB / 389.7 MB, free: 6.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.02475, allocations: 1.191 MB / 390.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.02475, allocations: 4 kB / 390.9 MB, free: 5.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02475, allocations: 4 kB / 390.9 MB, free: 5.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.02477, allocations: 0 / 390.9 MB, free: 5.316 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003644/0.02841, allocations: 1.47 MB / 392.3 MB, free: 3.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.02845, allocations: 12.03 kB / 392.4 MB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.03025, allocations: 395.8 kB / 392.7 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.03053, allocations: 196.1 kB / 392.9 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.03061, allocations: 74.38 kB / 393 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.03078, allocations: 104.3 kB / 393.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.03256, allocations: 0.9943 MB / 394.1 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.0326, allocations: 7.938 kB / 394.1 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.03269, allocations: 40 kB / 394.2 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.03271, allocations: 24 kB / 394.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.03413, allocations: 0.7006 MB / 394.9 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/0.0396, allocations: 3.202 MB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.04146, allocations: 0.8254 MB / 398.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.04193, allocations: 288 kB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.04203, allocations: 24.31 kB / 399.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.04209, allocations: 53.7 kB / 399.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.04209, allocations: 0 / 399.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002921/0.04501, allocations: 1.056 MB / 400.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.04511, allocations: 136.5 kB / 400.4 MB, free: 11.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.04563, allocations: 400 kB / 400.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.04567, allocations: 37.7 kB / 400.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.04606, allocations: 482.5 kB / 401.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000512/0.04657, allocations: 246 kB / 401.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.04685, allocations: 172.2 kB / 401.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003316/0.04718, allocations: 0.543 MB / 402.3 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.04757, allocations: 193.9 kB / 402.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.04824, allocations: 494.2 kB / 403 MB, free: 8.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.04935, allocations: 0.7304 MB / 403.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.04935, allocations: 4 kB / 403.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001743/0.0511, allocations: 0.9329 MB / 404.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.05112, allocations: 8 kB / 404.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.05113, allocations: 8 kB / 404.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.05249, allocations: 294.7 kB / 404.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.05299, allocations: 139.8 kB / 405.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008356/0.06135, allocations: 8.322 MB / 413.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.06188, allocations: 79.34 kB / 413.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.06195, allocations: 44.05 kB / 413.5 MB, free: 13.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004407/0.06239, allocations: 268.3 kB / 413.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.06256, allocations: 63.72 kB / 413.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.06399, allocations: 0.6864 MB / 414.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.06401, allocations: 11.94 kB / 414.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.06402, allocations: 7.984 kB / 414.6 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.06402, allocations: 0 / 414.6 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.06704, allocations: 1.602 MB / 416.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.06705, allocations: 4 kB / 416.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.06733, allocations: 63.91 kB / 416.2 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.06857, allocations: 286.5 kB / 416.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.0686, allocations: 16 kB / 416.5 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008018/0.07662, allocations: 8.307 MB / 424.8 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.07662, allocations: 4 kB / 424.8 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.07865, allocations: 1.393 MB / 426.2 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.07876, allocations: 47.58 kB / 426.3 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.07882, allocations: 16 kB / 426.3 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.07916, allocations: 15.98 kB / 426.3 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.07928, allocations: 59.83 kB / 426.4 MB, free: 52 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.07931, allocations: 16 kB / 426.4 MB, free: 36 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003181/0.07963, allocations: 253 kB / 426.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07963, allocations: 4.031 kB / 426.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001058/0.08069, allocations: 279.3 kB / 426.9 MB, free: 15.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002763/0.08097, allocations: 147.1 kB / 427 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.08291, allocations: 1.34 MB / 428.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.08291, allocations: 0 / 428.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.08414, allocations: 1.024 MB / 429.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.08472, allocations: 48.48 kB / 429.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.08723, allocations: 1.212 MB / 430.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.08761, allocations: 310.5 kB / 431 MB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.08785, allocations: 68.42 kB / 431 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.08795, allocations: 44.48 kB / 431.1 MB, free: 11.09 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.08795, allocations: 0 / 431.1 MB, free: 11.09 MB / 410.7 MB Notification: Performance of Templates: time 0.01664/0.1046, allocations: 6.891 MB / 438 MB, free: 4.266 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 5.743110331939533]