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.001095/0.001095, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001114/0.001114, allocations: 167.1 kB / 25.61 MB, free: 8.602 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.9286/0.9286, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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.1612/0.1612, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] 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 1.974e-06/1.974e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.98e-05, allocations: 5.547 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005424/0.005454, allocations: 5.114 MB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.008631, allocations: 1.619 MB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009365/0.009568, allocations: 20 kB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.0125, allocations: 1.641 MB / 387.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.01378, allocations: 329.3 kB / 388 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009843/0.01476, allocations: 0.5023 MB / 388.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.01556, allocations: 0.8277 MB / 389.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007003/0.01626, allocations: 0.6273 MB / 389.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.01674, allocations: 0.5067 MB / 390.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.01709, allocations: 363 kB / 390.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.01716, allocations: 76 kB / 390.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.01754, allocations: 191.7 kB / 391.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.01761, allocations: 183.3 kB / 391.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.01779, allocations: 291.3 kB / 391.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.01856, allocations: 0.7473 MB / 392.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01856, allocations: 0 / 392.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.01856, allocations: 0 / 392.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.01858, allocations: 0 / 392.3 MB, free: 10.35 MB / 314.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.001883/0.02046, allocations: 1.435 MB / 393.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.02051, allocations: 12.03 kB / 393.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.02151, allocations: 395.7 kB / 394.1 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.02167, allocations: 204.1 kB / 394.3 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.02171, allocations: 78.38 kB / 394.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.02181, allocations: 100.3 kB / 394.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.0224, allocations: 0.6982 MB / 395.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.02243, allocations: 11.88 kB / 395.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.02247, allocations: 43.98 kB / 395.2 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.02249, allocations: 24 kB / 395.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.02281, allocations: 328.4 kB / 395.6 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.02521, allocations: 2.792 MB / 398.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.02594, allocations: 0.7497 MB / 399.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.02607, allocations: 182.5 kB / 399.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.02614, allocations: 32.3 kB / 399.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.02617, allocations: 53.64 kB / 399.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.384e-06/0.02617, allocations: 4 kB / 399.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001268/0.02744, allocations: 0.7914 MB / 400.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.02747, allocations: 140.5 kB / 400.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.02769, allocations: 347.8 kB / 400.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.02771, allocations: 37.7 kB / 400.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.02786, allocations: 462.5 kB / 401.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.02797, allocations: 237.9 kB / 401.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.02813, allocations: 164.2 kB / 401.5 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.02821, allocations: 0.5312 MB / 402.1 MB, free: 176 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.02832, allocations: 97.91 kB / 402.2 MB, free: 80 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.02863, allocations: 378.1 kB / 402.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.02917, allocations: 0.5121 MB / 403.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.02917, allocations: 4 kB / 403.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00394/0.03311, allocations: 0.6711 MB / 403.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.03313, allocations: 12.44 kB / 403.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.03315, allocations: 4 kB / 403.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.03389, allocations: 258.4 kB / 404 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.03422, allocations: 143.8 kB / 404.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.04448, allocations: 7.618 MB / 411.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.0448, allocations: 87.33 kB / 411.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.04484, allocations: 24 kB / 411.9 MB, free: 5.66 MB / 330.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,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.04506, allocations: 216.4 kB / 412.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.04518, allocations: 59.77 kB / 412.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.0489, allocations: 0.5144 MB / 412.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.04891, allocations: 8 kB / 412.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.04892, allocations: 8 kB / 412.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.04893, allocations: 3.984 kB / 412.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.05048, allocations: 1.192 MB / 413.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.05048, allocations: 4 kB / 413.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.05066, allocations: 71.84 kB / 413.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.05131, allocations: 250.5 kB / 414.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.05134, allocations: 16 kB / 414.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006767/0.05811, allocations: 7.611 MB / 421.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.05811, allocations: 0 / 421.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.05903, allocations: 1.079 MB / 422.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.0591, allocations: 63.56 kB / 422.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.05915, allocations: 20 kB / 423 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.05939, allocations: 12 kB / 423 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.05948, allocations: 59.83 kB / 423 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.0595, allocations: 15.94 kB / 423 MB, free: 9.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.05963, allocations: 213 kB / 423.3 MB, free: 9.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05963, allocations: 0 / 423.3 MB, free: 9.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00393/0.06356, allocations: 275.4 kB / 423.5 MB, free: 9.402 MB / 346.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.0002133/0.06377, allocations: 139.1 kB / 423.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009495/0.06472, allocations: 1.141 MB / 424.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.06473, allocations: 448 / 424.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.06531, allocations: 0.9409 MB / 425.7 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/0.06885, allocations: 55.91 kB / 425.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.07059, allocations: 1.132 MB / 426.9 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.07075, allocations: 151.5 kB / 427.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.07095, allocations: 64.42 kB / 427.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.07109, allocations: 134.2 kB / 427.3 MB, free: 5.426 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.07109, allocations: 0 / 427.3 MB, free: 5.426 MB / 346.7 MB Notification: Performance of Templates: time 0.02412/0.09521, allocations: 7.571 MB / 434.8 MB, free: 13.93 MB / 362.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","",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.543470579199493]