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.001616/0.001616, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001958/0.001958, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.2489/0.2489, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 0.4909 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.122, allocations: 66 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007596/0.1296, allocations: 5.347 MB / 0.5606 GB, free: 436 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.1332, allocations: 1.654 MB / 0.5622 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.1339, allocations: 20 kB / 0.5622 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.1379, allocations: 1.602 MB / 0.5638 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.139, allocations: 317.6 kB / 0.5641 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1402, allocations: 0.5335 MB / 0.5646 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.1412, allocations: 0.7968 MB / 0.5654 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009163/0.1421, allocations: 0.5611 MB / 0.566 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.1426, allocations: 346.7 kB / 0.5663 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.1433, allocations: 470.1 kB / 0.5667 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1434, allocations: 72 kB / 0.5668 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.1438, allocations: 199.9 kB / 0.567 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.144, allocations: 175.3 kB / 0.5672 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.1444, allocations: 425.9 kB / 0.5676 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.1458, allocations: 1.171 MB / 0.5687 GB, free: 8.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1458, allocations: 0 / 0.5687 GB, free: 8.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1458, allocations: 0 / 0.5687 GB, free: 8.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1458, allocations: 0 / 0.5687 GB, free: 8.074 MB / 430.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.003656/0.1495, allocations: 1.38 MB / 0.5701 GB, free: 6.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1495, allocations: 12.03 kB / 0.5701 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.1497, allocations: 152.4 kB / 0.5702 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.1514, allocations: 236.2 kB / 0.5704 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1517, allocations: 255.8 kB / 0.5707 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.1518, allocations: 74.38 kB / 0.5708 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1519, allocations: 103.9 kB / 0.5709 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1536, allocations: 0.936 MB / 0.5718 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.1536, allocations: 3.953 kB / 0.5718 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.1537, allocations: 43.98 kB / 0.5718 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.1538, allocations: 28 kB / 0.5718 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1551, allocations: 0.7262 MB / 0.5725 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.1608, allocations: 4.084 MB / 0.5765 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.164, allocations: 3.326 MB / 0.5798 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.1645, allocations: 267.3 kB / 0.58 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.1647, allocations: 182.5 kB / 0.5802 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.1647, allocations: 50.77 kB / 0.5803 GB, free: 11.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.1647, allocations: 0 / 0.5803 GB, free: 11.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.003063/0.1678, allocations: 1.327 MB / 0.5816 GB, free: 9.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1679, allocations: 140.5 kB / 0.5817 GB, free: 9.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.1683, allocations: 314.8 kB / 0.582 GB, free: 9.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.1684, allocations: 33.7 kB / 0.582 GB, free: 9.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.1687, allocations: 415.8 kB / 0.5824 GB, free: 8.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.1689, allocations: 241.9 kB / 0.5827 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.1691, allocations: 150.6 kB / 0.5828 GB, free: 8.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1693, allocations: 354.7 kB / 0.5831 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.1697, allocations: 197.9 kB / 0.5833 GB, free: 7.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.1703, allocations: 402.8 kB / 0.5837 GB, free: 7.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.1712, allocations: 0.6181 MB / 0.5843 GB, free: 6.598 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1712, allocations: 0 / 0.5843 GB, free: 6.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001656/0.1729, allocations: 0.8777 MB / 0.5852 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1729, allocations: 11.98 kB / 0.5852 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1729, allocations: 4 kB / 0.5852 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/0.1736, allocations: 223.4 kB / 0.5854 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.1741, allocations: 147.7 kB / 0.5855 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2326/0.4067, allocations: 6.701 MB / 0.5921 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.4073, allocations: 84.12 kB / 0.5922 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.4073, allocations: 41.11 kB / 0.5922 GB, free: 32.36 MB / 446.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.0003085/0.4076, allocations: 222.8 kB / 0.5924 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4078, allocations: 46.62 kB / 0.5925 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.409, allocations: 0.6822 MB / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.409, allocations: 7.406 kB / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.4091, allocations: 9.828 kB / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4091, allocations: 3.891 kB / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.4114, allocations: 1.565 MB / 0.5947 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4114, allocations: 1.375 kB / 0.5947 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.4117, allocations: 66.89 kB / 0.5947 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.4122, allocations: 218.3 kB / 0.5949 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.4123, allocations: 19.53 kB / 0.595 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00424/0.4165, allocations: 6.701 MB / 0.6015 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4165, allocations: 1.625 kB / 0.6015 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.418, allocations: 1.187 MB / 0.6027 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4181, allocations: 138.3 kB / 0.6028 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.4182, allocations: 12.39 kB / 0.6028 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.4185, allocations: 12.97 kB / 0.6028 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4186, allocations: 52.86 kB / 0.6029 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.4187, allocations: 19.67 kB / 0.6029 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.4189, allocations: 215.1 kB / 0.6031 GB, free: 25.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4189, allocations: 2.844 kB / 0.6031 GB, free: 25.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4199, allocations: 276.9 kB / 0.6034 GB, free: 24.99 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.00172/0.4216, allocations: 1.768 MB / 0.6051 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.4231, allocations: 1.047 MB / 0.6061 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4231, allocations: 1.469 kB / 0.6061 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.4239, allocations: 0.7579 MB / 0.6069 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.4246, allocations: 40.7 kB / 0.6069 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.4308, allocations: 5.132 MB / 0.6119 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.4314, allocations: 0.9161 MB / 0.6128 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.4316, allocations: 65.06 kB / 0.6129 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.4318, allocations: 240.6 kB / 0.6131 GB, free: 18.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4318, allocations: 0 / 0.6131 GB, free: 18.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.4792, allocations: 11.94 MB / 0.6248 GB, free: 14.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.39, allocations: 14.84 kB / 0.6248 GB, free: 14.8 MB / 446.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] 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: 14.535862669115886]