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.001892/0.001892, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002276/0.002276, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2549/0.2549, allocations: 46.93 MB / 360.8 MB, free: 4.285 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.002096/0.002096, allocations: 68.05 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4226, allocations: 66.03 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008726/0.4314, allocations: 5.378 MB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.4358, allocations: 1.666 MB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.4363, allocations: 20 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004015/0.4404, allocations: 1.606 MB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.4415, allocations: 309.6 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4428, allocations: 0.5296 MB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.4441, allocations: 0.8008 MB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.4453, allocations: 0.6426 MB / 0.5718 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.4459, allocations: 354.7 kB / 0.5722 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.4466, allocations: 462.2 kB / 0.5726 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4467, allocations: 76 kB / 0.5727 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.4473, allocations: 191.9 kB / 0.5728 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.4475, allocations: 179.3 kB / 0.573 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.4479, allocations: 429.9 kB / 0.5734 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.4496, allocations: 1.178 MB / 0.5746 GB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4496, allocations: 0 / 0.5746 GB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4496, allocations: 4 kB / 0.5746 GB, free: 6.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.4497, allocations: 0 / 0.5746 GB, free: 6.559 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.003428/0.4531, allocations: 1.297 MB / 0.5758 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4531, allocations: 8.031 kB / 0.5759 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.4547, allocations: 236.2 kB / 0.5761 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.4549, allocations: 207.5 kB / 0.5763 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.455, allocations: 74.38 kB / 0.5764 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.4552, allocations: 100.1 kB / 0.5764 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.4568, allocations: 0.936 MB / 0.5774 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.4568, allocations: 3.953 kB / 0.5774 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.4569, allocations: 48 kB / 0.5774 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.457, allocations: 27.94 kB / 0.5774 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.4583, allocations: 0.7222 MB / 0.5781 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/0.4636, allocations: 3.68 MB / 0.5817 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4652, allocations: 0.7743 MB / 0.5825 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.4657, allocations: 266.5 kB / 0.5827 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.4658, allocations: 28.3 kB / 0.5828 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.4658, allocations: 42.89 kB / 0.5828 GB, free: 13.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.324e-06/0.4658, allocations: 0 / 0.5828 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002695/0.4685, allocations: 1.015 MB / 0.5838 GB, free: 12.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.4686, allocations: 144.5 kB / 0.5839 GB, free: 12.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.469, allocations: 320 kB / 0.5842 GB, free: 12.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.4691, allocations: 37.7 kB / 0.5843 GB, free: 12.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.4693, allocations: 407.8 kB / 0.5847 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.4695, allocations: 242 kB / 0.5849 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.4697, allocations: 146.6 kB / 0.585 GB, free: 11.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4699, allocations: 354.8 kB / 0.5854 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.4703, allocations: 193.9 kB / 0.5856 GB, free: 10.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.4708, allocations: 412.6 kB / 0.586 GB, free: 10.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.4718, allocations: 0.622 MB / 0.5866 GB, free: 9.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4718, allocations: 0 / 0.5866 GB, free: 9.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001565/0.4733, allocations: 0.8776 MB / 0.5874 GB, free: 8.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4733, allocations: 8 kB / 0.5874 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4734, allocations: 4 kB / 0.5874 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.474, allocations: 231.4 kB / 0.5877 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.4745, allocations: 139.8 kB / 0.5878 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.481, allocations: 6.307 MB / 0.594 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.4815, allocations: 79.41 kB / 0.594 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.4815, allocations: 32 kB / 0.5941 GB, free: 1.477 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.0003849/0.4819, allocations: 229.5 kB / 0.5943 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4821, allocations: 51.72 kB / 0.5943 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.4834, allocations: 0.6862 MB / 0.595 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4834, allocations: 4 kB / 0.595 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4834, allocations: 8 kB / 0.595 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4834, allocations: 7.984 kB / 0.595 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.486, allocations: 1.526 MB / 0.5965 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.486, allocations: 0 / 0.5965 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.4862, allocations: 71.91 kB / 0.5966 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.4867, allocations: 211.2 kB / 0.5968 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.4868, allocations: 16 kB / 0.5968 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005985/0.4928, allocations: 6.289 MB / 0.6029 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4928, allocations: 8.094 kB / 0.6029 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.4948, allocations: 1.195 MB / 0.6041 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4949, allocations: 47.66 kB / 0.6042 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.495, allocations: 12 kB / 0.6042 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.4953, allocations: 12 kB / 0.6042 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.4955, allocations: 71.77 kB / 0.6042 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.4955, allocations: 27.92 kB / 0.6043 GB, free: 6.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.4958, allocations: 207.1 kB / 0.6045 GB, free: 6.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4958, allocations: 0 / 0.6045 GB, free: 6.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001234/0.4971, allocations: 283.3 kB / 0.6047 GB, free: 5.949 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.0002812/0.4974, allocations: 143.1 kB / 0.6049 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.4991, allocations: 1.044 MB / 0.6059 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4991, allocations: 9.062 kB / 0.6059 GB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.5001, allocations: 0.7505 MB / 0.6066 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.5008, allocations: 48.64 kB / 0.6067 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.5036, allocations: 1.235 MB / 0.6079 GB, free: 2.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.5043, allocations: 0.9111 MB / 0.6088 GB, free: 1.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.5046, allocations: 68.53 kB / 0.6088 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.5047, allocations: 43.42 kB / 0.6089 GB, free: 1.52 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5047, allocations: 0 / 0.6089 GB, free: 1.52 MB / 446.1 MB Notification: Performance of Templates: time 0.01615/0.5208, allocations: 7.462 MB / 0.6162 GB, free: 10.08 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.859600102994591]