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.00136/0.00136, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001443/0.001443, allocations: 172 kB / 24.91 MB, free: 9.145 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.9448/0.9448, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2402/0.2402, allocations: 34.27 MB / 296.1 MB, free: 0.707 MB / 266.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.243e-06/1.243e-06, allocations: 0 / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.816e-05, allocations: 2.312 kB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00405/0.004069, allocations: 5.135 MB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.006285, allocations: 1.682 MB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.006461, allocations: 16 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.008013, allocations: 1.699 MB / 333.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.008486, allocations: 333.4 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.009369, allocations: 0.5023 MB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.009895, allocations: 0.8364 MB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005805/0.01048, allocations: 0.6838 MB / 336.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.01083, allocations: 0.5067 MB / 336.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.01112, allocations: 359 kB / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.01118, allocations: 76 kB / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.01142, allocations: 199.7 kB / 337.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.0115, allocations: 175.3 kB / 337.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.01166, allocations: 295.3 kB / 337.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.01221, allocations: 0.7588 MB / 338.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.01221, allocations: 0 / 338.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01221, allocations: 0 / 338.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01222, allocations: 0 / 338.5 MB, free: 10.37 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.001597/0.01382, allocations: 1.351 MB / 339.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.01385, allocations: 12.03 kB / 339.8 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.0147, allocations: 396.2 kB / 340.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.01482, allocations: 204.2 kB / 340.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.01486, allocations: 78.38 kB / 340.5 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.01494, allocations: 108.2 kB / 340.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.01548, allocations: 0.6801 MB / 341.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.0155, allocations: 7.922 kB / 341.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.01554, allocations: 44 kB / 341.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01555, allocations: 24 kB / 341.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.01584, allocations: 272.1 kB / 341.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.01818, allocations: 2.254 MB / 343.9 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/0.01886, allocations: 0.6596 MB / 344.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.01898, allocations: 145.6 kB / 344.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.01903, allocations: 40.28 kB / 344.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.01905, allocations: 42.83 kB / 344.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/0.01905, allocations: 0 / 344.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009671/0.02002, allocations: 0.6936 MB / 345.4 MB, free: 3.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.02006, allocations: 140.5 kB / 345.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.02021, allocations: 280.6 kB / 345.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.02024, allocations: 41.7 kB / 345.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.02037, allocations: 399.8 kB / 346.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.02046, allocations: 241.9 kB / 346.5 MB, free: 2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02058, allocations: 150.5 kB / 346.7 MB, free: 1.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.02066, allocations: 350.7 kB / 347 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.02074, allocations: 81.89 kB / 347.1 MB, free: 1.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.02091, allocations: 296.6 kB / 347.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.02122, allocations: 434.1 kB / 347.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.02122, allocations: 4 kB / 347.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005029/0.02173, allocations: 0.5404 MB / 348.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.02174, allocations: 11.98 kB / 348.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/0.02175, allocations: 11.88 kB / 348.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.02224, allocations: 231.3 kB / 348.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.02273, allocations: 139.8 kB / 348.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.02508, allocations: 5.298 MB / 354 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.02526, allocations: 87.48 kB / 354.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.02528, allocations: 24 kB / 354.1 MB, free: 9.824 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.0001316/0.02541, allocations: 153.7 kB / 354.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.02548, allocations: 51.89 kB / 354.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.02589, allocations: 435.5 kB / 354.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.0259, allocations: 8 kB / 354.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.0259, allocations: 4 kB / 354.8 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.02591, allocations: 3.984 kB / 354.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.02677, allocations: 0.8848 MB / 355.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02678, allocations: 4 kB / 355.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.02689, allocations: 63.91 kB / 355.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.02762, allocations: 223.3 kB / 356 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.02764, allocations: 12 kB / 356 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.02981, allocations: 5.291 MB / 361.3 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02981, allocations: 4 kB / 361.3 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.03034, allocations: 0.8022 MB / 362.1 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.03038, allocations: 55.52 kB / 362.1 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.03041, allocations: 12 kB / 362.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.03055, allocations: 16 kB / 362.1 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.0306, allocations: 55.83 kB / 362.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.03061, allocations: 12 kB / 362.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.03067, allocations: 94.78 kB / 362.3 MB, free: 1.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03067, allocations: 0 / 362.3 MB, free: 1.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000506/0.03118, allocations: 279.3 kB / 362.6 MB, free: 0.9336 MB / 330.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.0001623/0.03134, allocations: 126.3 kB / 362.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.03222, allocations: 0.891 MB / 363.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.03223, allocations: 8.5 kB / 363.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.03259, allocations: 0.6922 MB / 364.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.03291, allocations: 40.42 kB / 364.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.03407, allocations: 1.085 MB / 365.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.03416, allocations: 151.5 kB / 365.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.03429, allocations: 68.42 kB / 365.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.03439, allocations: 103.4 kB / 365.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03439, allocations: 0 / 365.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of Templates: time 0.009472/0.04386, allocations: 7.444 MB / 373.2 MB, free: 6.242 MB / 346.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.137738118879497]