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.001736/0.001736, allocations: 112 kB / 20.48 MB, free: 1.27 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.002128/0.002128, allocations: 211.3 kB / 23.77 MB, free: 4.445 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.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2875/0.2875, allocations: 46.94 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] 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.003089/0.003089, allocations: 79.81 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3624, allocations: 66.1 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00767/0.3701, allocations: 4.75 MB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.3736, allocations: 1.576 MB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.374, allocations: 16 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.3776, allocations: 1.477 MB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.3787, allocations: 313.6 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.38, allocations: 0.4908 MB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000958/0.3809, allocations: 0.8085 MB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.3819, allocations: 0.6213 MB / 0.5706 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.3824, allocations: 346.8 kB / 0.5709 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.383, allocations: 414.1 kB / 0.5713 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3831, allocations: 76 kB / 0.5714 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.3835, allocations: 183.9 kB / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3836, allocations: 179.3 kB / 0.5717 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.384, allocations: 338.4 kB / 0.572 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3853, allocations: 1.191 MB / 0.5732 GB, free: 7.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3853, allocations: 0 / 0.5732 GB, free: 7.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3853, allocations: 0 / 0.5732 GB, free: 7.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3853, allocations: 0 / 0.5732 GB, free: 7.223 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.003477/0.3888, allocations: 1.297 MB / 0.5745 GB, free: 5.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3889, allocations: 8.031 kB / 0.5745 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.389, allocations: 156.4 kB / 0.5746 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.3907, allocations: 232.2 kB / 0.5748 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3909, allocations: 210 kB / 0.575 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.391, allocations: 70.38 kB / 0.5751 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3912, allocations: 111.9 kB / 0.5752 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3929, allocations: 0.9321 MB / 0.5761 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.3929, allocations: 11.95 kB / 0.5761 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.393, allocations: 40 kB / 0.5762 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.3931, allocations: 24 kB / 0.5762 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3945, allocations: 0.7261 MB / 0.5769 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.3996, allocations: 2.84 MB / 0.5797 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.4012, allocations: 0.7615 MB / 0.5804 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.4016, allocations: 261.7 kB / 0.5807 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.4017, allocations: 24.31 kB / 0.5807 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4018, allocations: 46.88 kB / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.625e-06/0.4018, allocations: 3.938 kB / 0.5807 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002711/0.4045, allocations: 1.017 MB / 0.5817 GB, free: 14.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.4046, allocations: 140.5 kB / 0.5819 GB, free: 14.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.405, allocations: 320 kB / 0.5822 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.405, allocations: 37.7 kB / 0.5822 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.4053, allocations: 411.8 kB / 0.5826 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.4055, allocations: 249.9 kB / 0.5828 GB, free: 13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.4057, allocations: 142.6 kB / 0.583 GB, free: 12.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4059, allocations: 354.7 kB / 0.5833 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.4063, allocations: 201.9 kB / 0.5835 GB, free: 12.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.4068, allocations: 400.6 kB / 0.5839 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.4078, allocations: 0.6297 MB / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4078, allocations: 0 / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001699/0.4095, allocations: 0.8773 MB / 0.5854 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4095, allocations: 8.5 kB / 0.5854 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4095, allocations: 19.92 kB / 0.5854 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.4102, allocations: 219.2 kB / 0.5856 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.4107, allocations: 139.8 kB / 0.5857 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.4172, allocations: 6.254 MB / 0.5918 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.4177, allocations: 95.42 kB / 0.5919 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.4177, allocations: 35.98 kB / 0.592 GB, free: 2.996 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.0003407/0.4181, allocations: 225.5 kB / 0.5922 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.4182, allocations: 43.72 kB / 0.5922 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4195, allocations: 0.6804 MB / 0.5929 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.4195, allocations: 7.984 kB / 0.5929 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4196, allocations: 8 kB / 0.5929 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4196, allocations: 3.984 kB / 0.5929 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.422, allocations: 1.463 MB / 0.5943 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.422, allocations: 0 / 0.5943 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.4223, allocations: 67.91 kB / 0.5944 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.4228, allocations: 211.2 kB / 0.5946 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.4229, allocations: 12 kB / 0.5946 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/0.429, allocations: 6.246 MB / 0.6007 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.429, allocations: 0 / 0.6007 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.4307, allocations: 1.195 MB / 0.6019 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4308, allocations: 59.55 kB / 0.6019 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.4309, allocations: 11.94 kB / 0.602 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4312, allocations: 19.98 kB / 0.602 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4313, allocations: 71.56 kB / 0.602 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.4314, allocations: 16 kB / 0.6021 GB, free: 8.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.4316, allocations: 215.1 kB / 0.6023 GB, free: 7.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4316, allocations: 0 / 0.6023 GB, free: 7.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001038/0.4327, allocations: 275.4 kB / 0.6025 GB, free: 7.594 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.002124/0.4348, allocations: 1.761 MB / 0.6042 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.4365, allocations: 1.052 MB / 0.6053 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4365, allocations: 0 / 0.6053 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.4375, allocations: 0.7611 MB / 0.606 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.4382, allocations: 48.58 kB / 0.6061 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/0.4459, allocations: 5.122 MB / 0.6111 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.4463, allocations: 318.5 kB / 0.6114 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.4465, allocations: 64.53 kB / 0.6114 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.4468, allocations: 231.3 kB / 0.6116 GB, free: 13.8 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4468, allocations: 4 kB / 0.6117 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05788/0.5047, allocations: 12.86 MB / 0.6242 GB, free: 1.117 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.48, allocations: 3.938 kB / 0.6242 GB, free: 1.113 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.5794398332946]