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.001419/0.001419, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001547/0.001547, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.48/1.48, allocations: 230.5 MB / 254 MB, free: 15.17 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.2272/0.2272, allocations: 46.92 MB / 357 MB, free: 10.22 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.002401/0.002401, allocations: 79.88 kB / 0.491 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1263, allocations: 66.05 MB / 0.5555 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006818/0.1332, allocations: 5.343 MB / 0.5607 GB, free: 204 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.136, allocations: 1.67 MB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.1363, allocations: 20 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003399/0.1397, allocations: 1.601 MB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.1404, allocations: 313.6 kB / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1415, allocations: 0.518 MB / 0.5647 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009093/0.1424, allocations: 0.8123 MB / 0.5655 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.1433, allocations: 0.5533 MB / 0.566 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.1437, allocations: 346.8 kB / 0.5664 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.1443, allocations: 462.2 kB / 0.5668 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1444, allocations: 80 kB / 0.5669 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.1448, allocations: 203.8 kB / 0.5671 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1449, allocations: 175.3 kB / 0.5672 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.1453, allocations: 429.9 kB / 0.5677 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.1467, allocations: 1.167 MB / 0.5688 GB, free: 7.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1467, allocations: 0 / 0.5688 GB, free: 7.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1467, allocations: 0 / 0.5688 GB, free: 7.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.1467, allocations: 0 / 0.5688 GB, free: 7.848 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.003389/0.1501, allocations: 1.38 MB / 0.5701 GB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1501, allocations: 8.031 kB / 0.5702 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.1503, allocations: 152.4 kB / 0.5703 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.1519, allocations: 236.1 kB / 0.5705 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1522, allocations: 263.8 kB / 0.5708 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.1523, allocations: 74.38 kB / 0.5708 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.1524, allocations: 103.9 kB / 0.5709 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.154, allocations: 0.9321 MB / 0.5719 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.154, allocations: 7.953 kB / 0.5719 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/0.1541, allocations: 40 kB / 0.5719 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1541, allocations: 24 kB / 0.5719 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.1554, allocations: 0.7262 MB / 0.5726 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005336/0.1608, allocations: 4.088 MB / 0.5766 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.1638, allocations: 3.326 MB / 0.5799 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.1642, allocations: 263.3 kB / 0.5801 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.1644, allocations: 190.4 kB / 0.5803 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1644, allocations: 42.72 kB / 0.5803 GB, free: 10.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.315e-06/0.1644, allocations: 4 kB / 0.5803 GB, free: 10.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002943/0.1674, allocations: 1.324 MB / 0.5816 GB, free: 9.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/0.1675, allocations: 136.5 kB / 0.5818 GB, free: 9.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.1679, allocations: 314.8 kB / 0.5821 GB, free: 8.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.168, allocations: 37.7 kB / 0.5821 GB, free: 8.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.1683, allocations: 407.8 kB / 0.5825 GB, free: 8.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.1685, allocations: 249.9 kB / 0.5827 GB, free: 8.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.1688, allocations: 150.6 kB / 0.5829 GB, free: 8.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.169, allocations: 350.7 kB / 0.5832 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.1694, allocations: 205.8 kB / 0.5834 GB, free: 7.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.17, allocations: 396.7 kB / 0.5838 GB, free: 7.066 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/0.1709, allocations: 0.6259 MB / 0.5844 GB, free: 6.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.171, allocations: 0 / 0.5844 GB, free: 6.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001714/0.1727, allocations: 0.8738 MB / 0.5853 GB, free: 5.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.1727, allocations: 12.06 kB / 0.5853 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.1727, allocations: 8 kB / 0.5853 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008459/0.1736, allocations: 227.2 kB / 0.5855 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.1741, allocations: 139.8 kB / 0.5856 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2371/0.4112, allocations: 6.691 MB / 0.5922 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.4117, allocations: 89.47 kB / 0.5922 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4118, allocations: 35.03 kB / 0.5923 GB, free: 31.66 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.0002796/0.4121, allocations: 226.6 kB / 0.5925 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4122, allocations: 42.14 kB / 0.5925 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.4134, allocations: 0.6843 MB / 0.5932 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4134, allocations: 7.375 kB / 0.5932 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4134, allocations: 12.81 kB / 0.5932 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4135, allocations: 3.109 kB / 0.5932 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.4158, allocations: 1.566 MB / 0.5948 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4159, allocations: 3.781 kB / 0.5948 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.4161, allocations: 69.66 kB / 0.5948 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.4167, allocations: 215.3 kB / 0.595 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.4167, allocations: 15.55 kB / 0.595 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004309/0.421, allocations: 6.705 MB / 0.6016 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.421, allocations: 4.656 kB / 0.6016 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.4225, allocations: 1.188 MB / 0.6028 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.986e-05/0.4226, allocations: 129.6 kB / 0.6029 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.4226, allocations: 12.42 kB / 0.6029 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.423, allocations: 17.27 kB / 0.6029 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.4231, allocations: 53 kB / 0.603 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.4231, allocations: 20.3 kB / 0.603 GB, free: 24.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.4234, allocations: 214.7 kB / 0.6032 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4234, allocations: 0 / 0.6032 GB, free: 24.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001138/0.4245, allocations: 279 kB / 0.6034 GB, free: 24.31 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.002358/0.4269, allocations: 1.764 MB / 0.6052 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.4288, allocations: 1.051 MB / 0.6062 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4288, allocations: 0 / 0.6062 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.4297, allocations: 0.7645 MB / 0.6069 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.4304, allocations: 43.72 kB / 0.607 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007251/0.4376, allocations: 5.125 MB / 0.612 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4381, allocations: 0.9154 MB / 0.6129 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.4383, allocations: 68.44 kB / 0.6129 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4386, allocations: 233.4 kB / 0.6132 GB, free: 17.45 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4386, allocations: 0 / 0.6132 GB, free: 17.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04817/0.4867, allocations: 11.95 MB / 0.6248 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.437/9.924, allocations: 0 / 0.6248 GB, free: 14.18 MB / 446.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterHollowSphere.port_p.reference.gamma in file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.884374274988659]