Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 46.97 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006651/0.3262, allocations: 4.751 MB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.3294, allocations: 1.576 MB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.3297, allocations: 20 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.3334, allocations: 1.47 MB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.3345, allocations: 321.6 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3358, allocations: 0.4947 MB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3369, allocations: 0.7969 MB / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.3379, allocations: 0.6407 MB / 0.5704 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.3383, allocations: 354.7 kB / 0.5708 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.3389, allocations: 466.2 kB / 0.5712 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.339, allocations: 76 kB / 0.5713 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.3394, allocations: 191.8 kB / 0.5715 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3395, allocations: 183.3 kB / 0.5716 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3399, allocations: 342.4 kB / 0.572 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.3411, allocations: 1.187 MB / 0.5731 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3412, allocations: 0 / 0.5731 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3412, allocations: 0 / 0.5731 GB, free: 7.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3412, allocations: 0 / 0.5731 GB, free: 7.328 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.003324/0.3445, allocations: 1.3 MB / 0.5744 GB, free: 5.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3445, allocations: 8.031 kB / 0.5744 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.3447, allocations: 156.4 kB / 0.5745 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.3463, allocations: 236.2 kB / 0.5748 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3466, allocations: 198 kB / 0.575 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3467, allocations: 74.38 kB / 0.575 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.3468, allocations: 107.9 kB / 0.5751 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.3484, allocations: 0.9321 MB / 0.576 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.3485, allocations: 7.953 kB / 0.5761 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.3486, allocations: 40 kB / 0.5761 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3486, allocations: 24 kB / 0.5761 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.3499, allocations: 0.7222 MB / 0.5768 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004793/0.3547, allocations: 2.844 MB / 0.5796 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.3564, allocations: 0.7645 MB / 0.5803 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.3568, allocations: 260.5 kB / 0.5806 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.3569, allocations: 24.31 kB / 0.5806 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.3569, allocations: 46.83 kB / 0.5807 GB, free: 15.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.856e-06/0.357, allocations: 4 kB / 0.5807 GB, free: 15.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002737/0.3597, allocations: 1.015 MB / 0.5817 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.3598, allocations: 140.6 kB / 0.5818 GB, free: 14.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.3603, allocations: 327.9 kB / 0.5821 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3603, allocations: 37.7 kB / 0.5821 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.3606, allocations: 407.8 kB / 0.5825 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.3608, allocations: 245.9 kB / 0.5828 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.361, allocations: 150.6 kB / 0.5829 GB, free: 12.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3612, allocations: 350.7 kB / 0.5832 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.3616, allocations: 197.9 kB / 0.5834 GB, free: 12.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.3621, allocations: 408.6 kB / 0.5838 GB, free: 11.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3631, allocations: 0.6219 MB / 0.5844 GB, free: 11.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.3631, allocations: 4 kB / 0.5844 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001807/0.365, allocations: 0.8812 MB / 0.5853 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.365, allocations: 10.5 kB / 0.5853 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.365, allocations: 4 kB / 0.5853 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.3657, allocations: 227.7 kB / 0.5855 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.3662, allocations: 143.8 kB / 0.5857 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.3724, allocations: 6.237 MB / 0.5917 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.373, allocations: 91.28 kB / 0.5918 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.373, allocations: 32 kB / 0.5919 GB, free: 3.129 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.0003663/0.3734, allocations: 233.6 kB / 0.5921 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3735, allocations: 43.72 kB / 0.5921 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3748, allocations: 0.6719 MB / 0.5928 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3748, allocations: 12 kB / 0.5928 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3748, allocations: 4 kB / 0.5928 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.3748, allocations: 3.984 kB / 0.5928 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3774, allocations: 1.466 MB / 0.5942 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3774, allocations: 8 kB / 0.5942 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3777, allocations: 67.91 kB / 0.5943 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005698/0.3782, allocations: 215.4 kB / 0.5945 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.3783, allocations: 15.94 kB / 0.5945 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006177/0.3845, allocations: 6.242 MB / 0.6006 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3845, allocations: 7.969 kB / 0.6006 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3861, allocations: 1.179 MB / 0.6018 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3863, allocations: 63.61 kB / 0.6018 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.3863, allocations: 16 kB / 0.6019 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.3866, allocations: 12 kB / 0.6019 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3868, allocations: 67.62 kB / 0.6019 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.3868, allocations: 23.92 kB / 0.602 GB, free: 8.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.387, allocations: 211.1 kB / 0.6022 GB, free: 7.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.387, allocations: 0 / 0.6022 GB, free: 7.996 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001011/0.3881, allocations: 279.4 kB / 0.6024 GB, free: 7.723 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.002126/0.3902, allocations: 1.777 MB / 0.6042 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3919, allocations: 1.045 MB / 0.6052 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3919, allocations: 0 / 0.6052 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009382/0.3928, allocations: 0.7528 MB / 0.6059 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.3935, allocations: 48.58 kB / 0.606 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.4008, allocations: 5.142 MB / 0.611 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4012, allocations: 310.6 kB / 0.6113 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.4014, allocations: 68.48 kB / 0.6113 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.4017, allocations: 235.3 kB / 0.6116 GB, free: 13.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4017, allocations: 0 / 0.6116 GB, free: 13.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05427/0.456, allocations: 13.02 MB / 0.6243 GB, free: 1.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.44, allocations: 7.625 kB / 0.6243 GB, free: 1.086 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.400097798992647]