Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 105.8 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 191.8 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2031/0.2031, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09816, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006993/0.1052, allocations: 5.285 MB / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1082, allocations: 1.612 MB / 0.4941 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005095/0.1087, allocations: 16 kB / 0.4941 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.112, allocations: 1.602 MB / 0.4957 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008764/0.1129, allocations: 305.6 kB / 0.496 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1142, allocations: 0.6813 MB / 0.4967 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008628/0.1151, allocations: 0.8047 MB / 0.4975 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.1161, allocations: 0.7329 MB / 0.4982 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.1166, allocations: 334.7 kB / 0.4985 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.1171, allocations: 462.2 kB / 0.4989 GB, free: 444 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.1172, allocations: 72 kB / 0.499 GB, free: 372 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.1176, allocations: 187.9 kB / 0.4992 GB, free: 184 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1177, allocations: 179.3 kB / 0.4993 GB, free: 4 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.1181, allocations: 421.9 kB / 0.4998 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1191, allocations: 1.167 MB / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1191, allocations: 0 / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1192, allocations: 0 / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.1192, allocations: 0 / 0.5009 GB, free: 14.42 MB / 398.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.003113/0.1223, allocations: 1.371 MB / 0.5022 GB, free: 13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1223, allocations: 11.89 kB / 0.5022 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.1225, allocations: 152.4 kB / 0.5024 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.1239, allocations: 232.2 kB / 0.5026 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1241, allocations: 263.9 kB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.1242, allocations: 74.31 kB / 0.5029 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.1243, allocations: 103.9 kB / 0.503 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1257, allocations: 0.9282 MB / 0.5039 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.1258, allocations: 11.95 kB / 0.5039 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.1258, allocations: 40 kB / 0.504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.1259, allocations: 24 kB / 0.504 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.127, allocations: 0.7299 MB / 0.5047 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.1314, allocations: 3.902 MB / 0.5085 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.1339, allocations: 3.376 MB / 0.5118 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.1343, allocations: 296.3 kB / 0.5121 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.1344, allocations: 97.42 kB / 0.5122 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1344, allocations: 46.89 kB / 0.5122 GB, free: 1.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.294e-06/0.1344, allocations: 0 / 0.5122 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.00258/0.137, allocations: 1.326 MB / 0.5135 GB, free: 236 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.1371, allocations: 148.5 kB / 0.5137 GB, free: 56 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.1375, allocations: 314.8 kB / 0.514 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.1375, allocations: 37.7 kB / 0.514 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1377, allocations: 407.9 kB / 0.5144 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.1379, allocations: 245.9 kB / 0.5146 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1381, allocations: 142.6 kB / 0.5148 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1382, allocations: 358.7 kB / 0.5151 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.1386, allocations: 193.9 kB / 0.5153 GB, free: 14.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.139, allocations: 408.6 kB / 0.5157 GB, free: 13.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.1399, allocations: 0.6155 MB / 0.5163 GB, free: 13.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.1399, allocations: 4 kB / 0.5163 GB, free: 13.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001473/0.1414, allocations: 0.8854 MB / 0.5172 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1414, allocations: 8 kB / 0.5172 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.1415, allocations: 4 kB / 0.5172 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.1421, allocations: 227.4 kB / 0.5174 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.1426, allocations: 143.8 kB / 0.5175 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.1486, allocations: 6.706 MB / 0.5241 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.1492, allocations: 91.3 kB / 0.5242 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.1493, allocations: 32 kB / 0.5242 GB, free: 4.496 MB / 414.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.0003408/0.1497, allocations: 231 kB / 0.5244 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.1498, allocations: 43.72 kB / 0.5245 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.1511, allocations: 0.687 MB / 0.5251 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.1511, allocations: 11.98 kB / 0.5251 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.1511, allocations: 4 kB / 0.5251 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1511, allocations: 3.984 kB / 0.5252 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.1535, allocations: 1.562 MB / 0.5267 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1535, allocations: 7.938 kB / 0.5267 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1538, allocations: 67.91 kB / 0.5267 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.1543, allocations: 215.2 kB / 0.527 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.1544, allocations: 12 kB / 0.527 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1938/0.3482, allocations: 6.7 MB / 0.5335 GB, free: 34.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3482, allocations: 1.375 kB / 0.5335 GB, free: 34.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3498, allocations: 1.188 MB / 0.5347 GB, free: 34.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.3499, allocations: 124.4 kB / 0.5348 GB, free: 34.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.35, allocations: 18.36 kB / 0.5348 GB, free: 34.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.3504, allocations: 17.83 kB / 0.5348 GB, free: 34.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3505, allocations: 54.53 kB / 0.5349 GB, free: 34.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3505, allocations: 17.25 kB / 0.5349 GB, free: 34.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.3508, allocations: 216.4 kB / 0.5351 GB, free: 34.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3508, allocations: 2.125 kB / 0.5351 GB, free: 34.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001027/0.3518, allocations: 281.1 kB / 0.5354 GB, free: 34.02 MB / 414.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.001652/0.3535, allocations: 1.766 MB / 0.5371 GB, free: 33.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3549, allocations: 1.068 MB / 0.5381 GB, free: 32.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3549, allocations: 0 / 0.5381 GB, free: 32.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.3558, allocations: 0.7805 MB / 0.5389 GB, free: 32.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.3566, allocations: 51.3 kB / 0.5389 GB, free: 32.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/0.3631, allocations: 5.146 MB / 0.544 GB, free: 28.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.3636, allocations: 0.913 MB / 0.5449 GB, free: 28.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.3638, allocations: 66.56 kB / 0.5449 GB, free: 28.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.3641, allocations: 237.1 kB / 0.5452 GB, free: 28.02 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3641, allocations: 0 / 0.5452 GB, free: 28.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.4029, allocations: 11.71 MB / 0.5566 GB, free: 25.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.875/10.28, allocations: 5.344 kB / 0.5566 GB, free: 25.13 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches