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.001709/0.001709, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001567/0.001567, allocations: 206.3 kB / 23.73 MB, free: 4.379 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.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.3115/0.3115, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.00213/0.00213, allocations: 63.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4342, allocations: 66.05 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007477/0.4417, allocations: 4.751 MB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.4453, allocations: 1.577 MB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.4456, allocations: 20 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.4493, allocations: 1.47 MB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009881/0.4503, allocations: 313.6 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.4517, allocations: 0.4942 MB / 0.5695 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009957/0.4527, allocations: 0.8084 MB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.4537, allocations: 0.6377 MB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.4542, allocations: 350.7 kB / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006243/0.4548, allocations: 474.1 kB / 0.5717 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.4549, allocations: 72 kB / 0.5718 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.4555, allocations: 195.9 kB / 0.572 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.4557, allocations: 175.3 kB / 0.5721 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.4562, allocations: 346.4 kB / 0.5725 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.4577, allocations: 1.179 MB / 0.5736 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4577, allocations: 0 / 0.5736 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.4577, allocations: 0 / 0.5736 GB, free: 7.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.4577, allocations: 0 / 0.5736 GB, free: 7.297 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.003438/0.4611, allocations: 1.3 MB / 0.5749 GB, free: 5.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4612, allocations: 12.02 kB / 0.5749 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.4628, allocations: 232.2 kB / 0.5751 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.463, allocations: 213 kB / 0.5753 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.4631, allocations: 74.38 kB / 0.5754 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.4633, allocations: 100.1 kB / 0.5755 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.4648, allocations: 0.9399 MB / 0.5764 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.4649, allocations: 7.953 kB / 0.5764 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.465, allocations: 43.94 kB / 0.5764 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.465, allocations: 24 kB / 0.5765 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.4663, allocations: 0.7261 MB / 0.5772 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.4714, allocations: 2.716 MB / 0.5798 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.4732, allocations: 0.7657 MB / 0.5806 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.4736, allocations: 264.3 kB / 0.5808 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4737, allocations: 24.31 kB / 0.5809 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.4737, allocations: 42.89 kB / 0.5809 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.625e-06/0.4737, allocations: 0 / 0.5809 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002922/0.4767, allocations: 1.007 MB / 0.5819 GB, free: 14.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.4768, allocations: 144.4 kB / 0.582 GB, free: 14.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.4773, allocations: 297.6 kB / 0.5823 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.4773, allocations: 37.7 kB / 0.5823 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.4778, allocations: 419.7 kB / 0.5827 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.4781, allocations: 245.9 kB / 0.583 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.4783, allocations: 146.6 kB / 0.5831 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.4785, allocations: 346.8 kB / 0.5834 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.4789, allocations: 201.9 kB / 0.5836 GB, free: 12.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.4794, allocations: 396.6 kB / 0.584 GB, free: 12.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.4804, allocations: 0.622 MB / 0.5846 GB, free: 11.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4804, allocations: 0 / 0.5846 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00158/0.482, allocations: 0.8889 MB / 0.5855 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.482, allocations: 8 kB / 0.5855 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.482, allocations: 4 kB / 0.5855 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007011/0.4827, allocations: 223.7 kB / 0.5857 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.4832, allocations: 143.8 kB / 0.5858 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/0.4898, allocations: 6.158 MB / 0.5919 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.4904, allocations: 79.41 kB / 0.5919 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/0.4905, allocations: 40.11 kB / 0.592 GB, free: 3.555 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.0004155/0.4909, allocations: 217.7 kB / 0.5922 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4911, allocations: 47.66 kB / 0.5922 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.4924, allocations: 0.686 MB / 0.5929 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4924, allocations: 8 kB / 0.5929 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4924, allocations: 8 kB / 0.5929 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4924, allocations: 3.984 kB / 0.5929 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.4949, allocations: 1.347 MB / 0.5942 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4949, allocations: 4 kB / 0.5942 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.4952, allocations: 71.84 kB / 0.5943 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/0.4958, allocations: 207.3 kB / 0.5945 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.4958, allocations: 23.88 kB / 0.5945 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006236/0.502, allocations: 6.151 MB / 0.6005 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-05/0.502, allocations: 3.984 kB / 0.6005 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.5038, allocations: 1.187 MB / 0.6017 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5039, allocations: 51.69 kB / 0.6017 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.504, allocations: 12 kB / 0.6018 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.5043, allocations: 12.38 kB / 0.6018 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5044, allocations: 67.75 kB / 0.6018 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.5045, allocations: 19.94 kB / 0.6019 GB, free: 8.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.5047, allocations: 197.2 kB / 0.602 GB, free: 8.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5047, allocations: 3.938 kB / 0.602 GB, free: 8.715 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.5059, allocations: 279.4 kB / 0.6023 GB, free: 8.441 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.0002763/0.5062, allocations: 143.1 kB / 0.6024 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001822/0.508, allocations: 1.049 MB / 0.6035 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.508, allocations: 0 / 0.6035 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.509, allocations: 0.7584 MB / 0.6042 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.5097, allocations: 43.47 kB / 0.6043 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.5121, allocations: 1.246 MB / 0.6055 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.5125, allocations: 314.5 kB / 0.6058 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.5128, allocations: 68.42 kB / 0.6058 GB, free: 4.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.5128, allocations: 39.42 kB / 0.6059 GB, free: 4.617 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5128, allocations: 0 / 0.6059 GB, free: 4.617 MB / 446.1 MB Notification: Performance of Templates: time 0.01692/0.5298, allocations: 7.827 MB / 0.6135 GB, free: 12.86 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 -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/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.811769851017743]