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.001418/0.001418, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001657/0.001657, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2332/0.2332, allocations: 46.96 MB / 360.8 MB, free: 3.93 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.002741/0.002741, allocations: 80.11 kB / 0.4961 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3397, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006983/0.3467, allocations: 4.755 MB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.3499, allocations: 1.573 MB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.3503, allocations: 16 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.3539, allocations: 1.473 MB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.3551, allocations: 317.6 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.3566, allocations: 0.4985 MB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.3578, allocations: 0.8085 MB / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.3589, allocations: 0.6174 MB / 0.5705 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.3594, allocations: 350.7 kB / 0.5708 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.36, allocations: 414.1 kB / 0.5712 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.3602, allocations: 72 kB / 0.5713 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.3606, allocations: 183.9 kB / 0.5715 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3607, allocations: 179.4 kB / 0.5717 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.3611, allocations: 346.4 kB / 0.572 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3625, allocations: 1.183 MB / 0.5731 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3625, allocations: 0 / 0.5731 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3625, allocations: 0 / 0.5731 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3625, allocations: 0 / 0.5731 GB, free: 7.227 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.00341/0.3659, allocations: 1.3 MB / 0.5744 GB, free: 5.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3659, allocations: 8.031 kB / 0.5744 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.3661, allocations: 152.4 kB / 0.5746 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.3677, allocations: 232.2 kB / 0.5748 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.368, allocations: 206 kB / 0.575 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.3681, allocations: 78.38 kB / 0.5751 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3682, allocations: 103.9 kB / 0.5752 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3698, allocations: 0.936 MB / 0.5761 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.3698, allocations: 11.95 kB / 0.5761 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.3699, allocations: 36 kB / 0.5761 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.3699, allocations: 24 kB / 0.5761 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.3713, allocations: 0.7222 MB / 0.5768 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/0.3765, allocations: 2.844 MB / 0.5796 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.3782, allocations: 0.7654 MB / 0.5804 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.3786, allocations: 265 kB / 0.5806 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.3787, allocations: 28.25 kB / 0.5806 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3787, allocations: 42.88 kB / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.186e-06/0.3787, allocations: 0 / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002725/0.3815, allocations: 1.015 MB / 0.5817 GB, free: 14.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3816, allocations: 148.5 kB / 0.5818 GB, free: 14.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.382, allocations: 324 kB / 0.5821 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.3821, allocations: 33.7 kB / 0.5822 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.3824, allocations: 411.8 kB / 0.5826 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.3826, allocations: 249.9 kB / 0.5828 GB, free: 13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3829, allocations: 142.6 kB / 0.5829 GB, free: 12.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.383, allocations: 354.7 kB / 0.5833 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.3834, allocations: 201.9 kB / 0.5835 GB, free: 12.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.384, allocations: 396.7 kB / 0.5838 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.3849, allocations: 0.6297 MB / 0.5845 GB, free: 11.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.3849, allocations: 4 kB / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00167/0.3866, allocations: 0.8773 MB / 0.5853 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3866, allocations: 4 kB / 0.5853 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3866, allocations: 8 kB / 0.5853 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006725/0.3873, allocations: 219.7 kB / 0.5855 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.3878, allocations: 143.8 kB / 0.5857 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.3946, allocations: 6.253 MB / 0.5918 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.3952, allocations: 87.77 kB / 0.5919 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.3953, allocations: 36.11 kB / 0.5919 GB, free: 3.016 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.0003739/0.3957, allocations: 225.6 kB / 0.5921 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3958, allocations: 47.66 kB / 0.5922 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.3971, allocations: 0.6837 MB / 0.5928 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3971, allocations: 8 kB / 0.5928 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3972, allocations: 4 kB / 0.5928 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3972, allocations: 7.922 kB / 0.5928 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.3998, allocations: 1.456 MB / 0.5943 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3998, allocations: 7.938 kB / 0.5943 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.4, allocations: 67.91 kB / 0.5943 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.4006, allocations: 211.2 kB / 0.5945 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.4006, allocations: 16 kB / 0.5946 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00656/0.4072, allocations: 6.246 MB / 0.6007 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4072, allocations: 0 / 0.6007 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.4092, allocations: 1.194 MB / 0.6018 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4094, allocations: 55.69 kB / 0.6019 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.4094, allocations: 16 kB / 0.6019 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.4098, allocations: 15.98 kB / 0.6019 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.41, allocations: 67.62 kB / 0.602 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.41, allocations: 16 kB / 0.602 GB, free: 8.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.4103, allocations: 215.1 kB / 0.6022 GB, free: 7.883 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4103, allocations: 3.938 kB / 0.6022 GB, free: 7.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4116, allocations: 275.4 kB / 0.6025 GB, free: 7.609 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.002447/0.414, allocations: 1.769 MB / 0.6042 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.4159, allocations: 1.045 MB / 0.6052 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4159, allocations: 4 kB / 0.6052 GB, free: 4.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.417, allocations: 0.7644 MB / 0.606 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.4178, allocations: 52.53 kB / 0.606 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/0.4259, allocations: 5.117 MB / 0.611 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4263, allocations: 326.4 kB / 0.6113 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.4266, allocations: 64.53 kB / 0.6114 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.4269, allocations: 227.4 kB / 0.6116 GB, free: 13.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4269, allocations: 0 / 0.6116 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05397/0.4808, allocations: 12.77 MB / 0.6241 GB, free: 1.199 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.7, allocations: 11.75 kB / 0.6241 GB, free: 1.191 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.716703976038843]