Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 119.7 kB / 18.5 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 217.6 kB / 21.46 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 83.84 kB / 0.4912 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 65.99 MB / 0.5557 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007659/0.1455, allocations: 5.351 MB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.1489, allocations: 1.658 MB / 0.5625 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.1494, allocations: 20 kB / 0.5626 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.1534, allocations: 1.607 MB / 0.5641 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.1546, allocations: 317.6 kB / 0.5644 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1559, allocations: 0.5174 MB / 0.5649 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1572, allocations: 0.8007 MB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.1583, allocations: 0.5689 MB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.1588, allocations: 342.7 kB / 0.5666 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.1594, allocations: 458.2 kB / 0.567 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1596, allocations: 76 kB / 0.5671 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.1601, allocations: 207.8 kB / 0.5673 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1602, allocations: 175.3 kB / 0.5675 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.1607, allocations: 421.9 kB / 0.5679 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.1624, allocations: 1.167 MB / 0.569 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1624, allocations: 0 / 0.569 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1624, allocations: 4 kB / 0.569 GB, free: 8.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.1624, allocations: 0 / 0.569 GB, free: 8.43 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.00393/0.1663, allocations: 1.38 MB / 0.5704 GB, free: 7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.1664, allocations: 8.031 kB / 0.5704 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.1666, allocations: 160.4 kB / 0.5705 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.1682, allocations: 232.2 kB / 0.5707 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1686, allocations: 255.9 kB / 0.571 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.1687, allocations: 74.38 kB / 0.5711 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.1688, allocations: 99.94 kB / 0.5712 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.1706, allocations: 0.9321 MB / 0.5721 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.1706, allocations: 11.95 kB / 0.5721 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.1707, allocations: 43.98 kB / 0.5721 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.1707, allocations: 24 kB / 0.5721 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.1721, allocations: 0.7184 MB / 0.5728 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00644/0.1786, allocations: 4.092 MB / 0.5768 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/0.182, allocations: 3.321 MB / 0.5801 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.1825, allocations: 264.3 kB / 0.5803 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.1827, allocations: 190.5 kB / 0.5805 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.1828, allocations: 46.77 kB / 0.5806 GB, free: 11.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.116e-06/0.1828, allocations: 0 / 0.5806 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.003248/0.186, allocations: 1.328 MB / 0.5819 GB, free: 9.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1861, allocations: 140.6 kB / 0.582 GB, free: 9.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.1867, allocations: 314.8 kB / 0.5823 GB, free: 9.512 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.1867, allocations: 37.7 kB / 0.5823 GB, free: 9.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.1871, allocations: 407.9 kB / 0.5827 GB, free: 9.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.1873, allocations: 245.9 kB / 0.583 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.1876, allocations: 146.6 kB / 0.5831 GB, free: 8.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1878, allocations: 358.7 kB / 0.5834 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.1882, allocations: 197.9 kB / 0.5836 GB, free: 8.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.1888, allocations: 408.5 kB / 0.584 GB, free: 7.645 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1899, allocations: 0.6142 MB / 0.5846 GB, free: 6.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.1899, allocations: 4 kB / 0.5846 GB, free: 6.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001807/0.1917, allocations: 0.8815 MB / 0.5855 GB, free: 6.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1917, allocations: 8 kB / 0.5855 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.1917, allocations: 8 kB / 0.5855 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008217/0.1926, allocations: 215.4 kB / 0.5857 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.1931, allocations: 147.8 kB / 0.5858 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.258/0.4511, allocations: 6.696 MB / 0.5924 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.4517, allocations: 88.34 kB / 0.5925 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.4518, allocations: 34.61 kB / 0.5925 GB, free: 33.07 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.0002651/0.452, allocations: 224 kB / 0.5927 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4522, allocations: 43.72 kB / 0.5928 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.4535, allocations: 0.6849 MB / 0.5934 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4535, allocations: 11.53 kB / 0.5934 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4535, allocations: 4.812 kB / 0.5934 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4535, allocations: 4.938 kB / 0.5934 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.456, allocations: 1.577 MB / 0.595 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.456, allocations: 0 / 0.595 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.4562, allocations: 68.45 kB / 0.595 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.4567, allocations: 214.9 kB / 0.5953 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.4568, allocations: 18.47 kB / 0.5953 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.4611, allocations: 6.701 MB / 0.6018 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4611, allocations: 0.7188 kB / 0.6018 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.4628, allocations: 1.185 MB / 0.603 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4629, allocations: 127.9 kB / 0.6031 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.463, allocations: 20.73 kB / 0.6031 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.4633, allocations: 13.16 kB / 0.6031 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.4635, allocations: 59.27 kB / 0.6032 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.4635, allocations: 18.14 kB / 0.6032 GB, free: 25.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.4638, allocations: 211.1 kB / 0.6034 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4638, allocations: 0 / 0.6034 GB, free: 25.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4648, allocations: 280.4 kB / 0.6037 GB, free: 25.66 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.001824/0.4666, allocations: 1.768 MB / 0.6054 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.4684, allocations: 1.047 MB / 0.6064 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4684, allocations: 0 / 0.6064 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009812/0.4694, allocations: 0.7625 MB / 0.6072 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.4702, allocations: 44.62 kB / 0.6072 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/0.4784, allocations: 5.132 MB / 0.6122 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.4789, allocations: 0.911 MB / 0.6131 GB, free: 18.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.4792, allocations: 69.14 kB / 0.6132 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.4794, allocations: 230.3 kB / 0.6134 GB, free: 18.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4794, allocations: 0 / 0.6134 GB, free: 18.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06175/0.5412, allocations: 11.95 MB / 0.6251 GB, free: 15.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.48, allocations: 1.188 kB / 0.6251 GB, free: 15.5 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.547024834901094]