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.001446/0.001446, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001572/0.001572, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 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.2428/0.2428, allocations: 46.95 MB / 361.6 MB, free: 4.004 MB / 286.1 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 0.002027/0.002027, allocations: 68.14 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3956, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007358/0.4029, allocations: 4.755 MB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.4064, allocations: 1.573 MB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.4067, allocations: 23.94 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004188/0.4109, allocations: 1.474 MB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.4126, allocations: 313.6 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.4141, allocations: 0.498 MB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.4152, allocations: 0.8008 MB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.4164, allocations: 0.6426 MB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.417, allocations: 354.7 kB / 0.572 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.4176, allocations: 466.2 kB / 0.5724 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.4177, allocations: 72 kB / 0.5725 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.4182, allocations: 187.9 kB / 0.5727 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.4184, allocations: 179.3 kB / 0.5729 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.4188, allocations: 350.4 kB / 0.5732 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4202, allocations: 1.182 MB / 0.5743 GB, free: 7.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4202, allocations: 4 kB / 0.5743 GB, free: 7.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4202, allocations: 0 / 0.5743 GB, free: 7.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4203, allocations: 0 / 0.5743 GB, free: 7.246 MB / 414.1 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.003541/0.4238, allocations: 1.296 MB / 0.5756 GB, free: 5.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4238, allocations: 12.03 kB / 0.5756 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.4255, allocations: 232.2 kB / 0.5758 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.4258, allocations: 206 kB / 0.576 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-05/0.4259, allocations: 74.38 kB / 0.5761 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.4261, allocations: 100.1 kB / 0.5762 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.4278, allocations: 0.9438 MB / 0.5771 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.4279, allocations: 7.891 kB / 0.5771 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.4279, allocations: 40 kB / 0.5772 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.428, allocations: 24 kB / 0.5772 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.4293, allocations: 0.7222 MB / 0.5779 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.4342, allocations: 2.716 MB / 0.5806 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.4358, allocations: 0.7709 MB / 0.5813 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.4362, allocations: 268.3 kB / 0.5816 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.597e-05/0.4363, allocations: 20.31 kB / 0.5816 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4363, allocations: 46.89 kB / 0.5816 GB, free: 15.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.776e-06/0.4363, allocations: 0 / 0.5816 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002757/0.4391, allocations: 1.007 MB / 0.5826 GB, free: 14.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.4392, allocations: 140.5 kB / 0.5827 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.4396, allocations: 297.6 kB / 0.583 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.4397, allocations: 37.7 kB / 0.5831 GB, free: 14.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.44, allocations: 419.8 kB / 0.5835 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.4402, allocations: 249.9 kB / 0.5837 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.4404, allocations: 142.6 kB / 0.5838 GB, free: 13.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.4407, allocations: 354.8 kB / 0.5842 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.4411, allocations: 193.9 kB / 0.5844 GB, free: 12.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.4417, allocations: 400.6 kB / 0.5847 GB, free: 12.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.4427, allocations: 0.6258 MB / 0.5854 GB, free: 11.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4427, allocations: 0 / 0.5854 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001699/0.4444, allocations: 0.8854 MB / 0.5862 GB, free: 10.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.4444, allocations: 10.81 kB / 0.5862 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4444, allocations: 4 kB / 0.5862 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007377/0.4451, allocations: 223.4 kB / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.4456, allocations: 143.8 kB / 0.5866 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.4525, allocations: 6.161 MB / 0.5926 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/0.4533, allocations: 79.41 kB / 0.5927 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.4533, allocations: 35.98 kB / 0.5927 GB, free: 3.508 MB / 430.1 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.0004651/0.4538, allocations: 221.7 kB / 0.5929 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4539, allocations: 47.66 kB / 0.593 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.4554, allocations: 0.6756 MB / 0.5936 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.4554, allocations: 8 kB / 0.5936 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4554, allocations: 4 kB / 0.5936 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4554, allocations: 7.984 kB / 0.5936 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.458, allocations: 1.358 MB / 0.595 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.458, allocations: 0 / 0.595 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.4582, allocations: 71.91 kB / 0.595 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005952/0.4588, allocations: 215.2 kB / 0.5952 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.4589, allocations: 15.94 kB / 0.5953 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006925/0.4658, allocations: 6.148 MB / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4658, allocations: 0 / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.4678, allocations: 1.187 MB / 0.6024 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4679, allocations: 55.59 kB / 0.6025 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.468, allocations: 12 kB / 0.6025 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4683, allocations: 15.94 kB / 0.6025 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4684, allocations: 71.56 kB / 0.6026 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.4685, allocations: 24.11 kB / 0.6026 GB, free: 8.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.4688, allocations: 197.2 kB / 0.6028 GB, free: 8.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4688, allocations: 3.938 kB / 0.6028 GB, free: 8.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4699, allocations: 283.4 kB / 0.6031 GB, free: 8.383 MB / 446.1 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.0003058/0.4702, allocations: 139.1 kB / 0.6032 GB, free: 8.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.4721, allocations: 1.045 MB / 0.6042 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4721, allocations: 0 / 0.6042 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4732, allocations: 0.7605 MB / 0.605 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.4739, allocations: 42.5 kB / 0.605 GB, free: 6.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.4764, allocations: 1.243 MB / 0.6062 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4767, allocations: 310.5 kB / 0.6065 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.477, allocations: 68.36 kB / 0.6066 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.4771, allocations: 39.42 kB / 0.6066 GB, free: 4.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4771, allocations: 0 / 0.6066 GB, free: 4.57 MB / 446.1 MB Notification: Performance of Templates: time 0.01595/0.493, allocations: 7.835 MB / 0.6143 GB, free: 12.8 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/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.564395961991977]