Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 66.77 kB / 491.8 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1191, allocations: 64.26 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007457/0.1266, allocations: 5.354 MB / 0.5482 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1297, allocations: 1.588 MB / 0.5498 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.1301, allocations: 16 kB / 0.5498 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.1339, allocations: 1.596 MB / 0.5513 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.135, allocations: 305.6 kB / 0.5516 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1367, allocations: 0.6923 MB / 0.5523 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.138, allocations: 0.7932 MB / 0.5531 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.139, allocations: 0.5613 MB / 0.5536 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.1396, allocations: 338.7 kB / 0.554 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.1402, allocations: 458.2 kB / 0.5544 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.1404, allocations: 76 kB / 0.5545 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.1409, allocations: 191.8 kB / 0.5547 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.1411, allocations: 175.4 kB / 0.5548 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.1415, allocations: 425.9 kB / 0.5552 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.1432, allocations: 1.167 MB / 0.5564 GB, free: 6.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1432, allocations: 0 / 0.5564 GB, free: 6.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1432, allocations: 0 / 0.5564 GB, free: 6.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.1433, allocations: 3.938 kB / 0.5564 GB, free: 6.355 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.003574/0.1468, allocations: 1.368 MB / 0.5577 GB, free: 4.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1469, allocations: 12.03 kB / 0.5577 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.1471, allocations: 152.4 kB / 0.5579 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.1485, allocations: 228.2 kB / 0.5581 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1487, allocations: 255.9 kB / 0.5583 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.1488, allocations: 70.38 kB / 0.5584 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.149, allocations: 111.8 kB / 0.5585 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.1506, allocations: 0.9283 MB / 0.5594 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.1506, allocations: 7.938 kB / 0.5594 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.1507, allocations: 44 kB / 0.5595 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.1507, allocations: 27.98 kB / 0.5595 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.152, allocations: 0.7145 MB / 0.5602 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/0.1578, allocations: 3.914 MB / 0.564 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.1611, allocations: 3.319 MB / 0.5672 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.1615, allocations: 263.5 kB / 0.5675 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.1617, allocations: 97.41 kB / 0.5676 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.1617, allocations: 42.83 kB / 0.5676 GB, free: 9.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.675e-06/0.1617, allocations: 0 / 0.5676 GB, free: 9.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.003032/0.1648, allocations: 1.324 MB / 0.5689 GB, free: 8.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.1649, allocations: 136.5 kB / 0.5691 GB, free: 8.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.1653, allocations: 310.9 kB / 0.5693 GB, free: 7.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.1654, allocations: 37.7 kB / 0.5694 GB, free: 7.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.1657, allocations: 411.8 kB / 0.5698 GB, free: 7.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.166, allocations: 241.9 kB / 0.57 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.1662, allocations: 142.6 kB / 0.5701 GB, free: 6.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.1664, allocations: 362.7 kB / 0.5705 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.1668, allocations: 193.9 kB / 0.5707 GB, free: 6.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.1674, allocations: 404.5 kB / 0.5711 GB, free: 5.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.1683, allocations: 0.6154 MB / 0.5717 GB, free: 5.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1683, allocations: 4 kB / 0.5717 GB, free: 5.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001721/0.17, allocations: 0.8812 MB / 0.5725 GB, free: 4.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.17, allocations: 8 kB / 0.5725 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.17, allocations: 4 kB / 0.5725 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007046/0.1708, allocations: 231.7 kB / 0.5728 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.1713, allocations: 139.8 kB / 0.5729 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/0.1782, allocations: 6.71 MB / 0.5794 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.1788, allocations: 79.41 kB / 0.5795 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.1789, allocations: 32 kB / 0.5796 GB, free: 12.57 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.0003908/0.1793, allocations: 233.6 kB / 0.5798 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1794, allocations: 43.72 kB / 0.5798 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.1808, allocations: 0.6785 MB / 0.5805 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.1808, allocations: 8 kB / 0.5805 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.1808, allocations: 8 kB / 0.5805 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1808, allocations: 3.984 kB / 0.5805 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.1835, allocations: 1.555 MB / 0.582 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1835, allocations: 0 / 0.582 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1838, allocations: 67.91 kB / 0.5821 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/0.1844, allocations: 219.2 kB / 0.5823 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.1844, allocations: 16 kB / 0.5823 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006775/0.1912, allocations: 6.698 MB / 0.5888 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1912, allocations: 4.031 kB / 0.5888 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.193, allocations: 1.187 MB / 0.59 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.1932, allocations: 128.9 kB / 0.5901 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.1933, allocations: 16 kB / 0.5901 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.1937, allocations: 12 kB / 0.5902 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.1938, allocations: 63.86 kB / 0.5902 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.1939, allocations: 16 kB / 0.5902 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1941, allocations: 210 kB / 0.5904 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1941, allocations: 0 / 0.5904 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001069/0.1952, allocations: 283.3 kB / 0.5907 GB, free: 432 kB / 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.002196/0.1974, allocations: 1.748 MB / 0.5924 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.1993, allocations: 1.048 MB / 0.5934 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1993, allocations: 0 / 0.5934 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2003, allocations: 0.7526 MB / 0.5942 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.2011, allocations: 52.7 kB / 0.5942 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.209, allocations: 5.142 MB / 0.5992 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.2097, allocations: 0.9111 MB / 0.6001 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002866/0.21, allocations: 64.53 kB / 0.6002 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.2103, allocations: 239.3 kB / 0.6004 GB, free: 6.027 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2103, allocations: 0 / 0.6004 GB, free: 6.027 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2976/0.5079, allocations: 11.84 MB / 0.612 GB, free: 60.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.2, allocations: 9.719 kB / 0.612 GB, free: 60.51 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.261709818150848]