Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",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.001175/0.001175, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001154/0.001154, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1947/0.1947, allocations: 44.18 MB / 336.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.3 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003276/0.1142, allocations: 2.406 MB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.1152, allocations: 0.6039 MB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.1153, allocations: 4 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.1154, allocations: 27.77 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1156, allocations: 59.53 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1158, allocations: 71.94 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1161, allocations: 331.2 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.1164, allocations: 131.9 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1165, allocations: 131.5 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1167, allocations: 147.4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.1168, allocations: 24 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.805e-05/0.1168, allocations: 24 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1169, allocations: 59.77 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.117, allocations: 151.2 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1173, allocations: 370.9 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1174, allocations: 0 / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1174, allocations: 0 / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1174, allocations: 0 / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008552/0.1182, allocations: 0.5695 MB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1183, allocations: 16.02 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.177e-05/0.1184, allocations: 62.73 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1184, allocations: 40.55 kB / 473.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1186, allocations: 203.9 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.1187, allocations: 21.22 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.1187, allocations: 40.31 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.1192, allocations: 278 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1192, allocations: 0 / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.1193, allocations: 12 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1193, allocations: 11.98 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.1197, allocations: 218.5 kB / 474.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1214, allocations: 1.02 MB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.1214, allocations: 30.56 kB / 475.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1215, allocations: 28.92 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.1215, allocations: 0 / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1215, allocations: 34.5 kB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.234e-06/0.1215, allocations: 0 / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002004/0.1217, allocations: 81.3 kB / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1218, allocations: 55.39 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1221, allocations: 318.9 kB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1222, allocations: 29.83 kB / 476.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1223, allocations: 234.7 kB / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.1223, allocations: 15.89 kB / 476.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.1224, allocations: 53.61 kB / 476.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1225, allocations: 330.8 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1227, allocations: 63.97 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1228, allocations: 89.69 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1231, allocations: 139.4 kB / 477.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1231, allocations: 0 / 477.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003827/0.1235, allocations: 225.4 kB / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1235, allocations: 7.938 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1235, allocations: 4 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1235, allocations: 0 / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.1238, allocations: 63.89 kB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1238, allocations: 0 / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1241, allocations: 43.56 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1241, allocations: 7.984 kB / 477.4 MB, free: 5.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1242, allocations: 138.3 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1243, allocations: 19.75 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.1243, allocations: 28.84 kB / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1243, allocations: 0 / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1243, allocations: 0 / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1243, allocations: 0 / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.1249, allocations: 0.511 MB / 478.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1249, allocations: 0 / 478.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.1249, allocations: 4 kB / 478.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1249, allocations: 0 / 478.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1249, allocations: 0 / 478.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.125, allocations: 3.984 kB / 478.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.125, allocations: 4 kB / 478.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.1251, allocations: 101.8 kB / 478.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.1252, allocations: 104.8 kB / 478.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1252, allocations: 4 kB / 478.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1254, allocations: 3.984 kB / 478.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1254, allocations: 0 / 478.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1254, allocations: 4 kB / 478.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1256, allocations: 225.9 kB / 478.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1257, allocations: 4.031 kB / 478.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1259, allocations: 67.84 kB / 478.6 MB, free: 4.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003523/0.1263, allocations: 0.6286 MB / 479.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1265, allocations: 115.9 kB / 479.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1265, allocations: 3.938 kB / 479.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.1266, allocations: 12 kB / 479.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1269, allocations: 20.88 kB / 479.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.1295, allocations: 2.346 MB / 481.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1298, allocations: 0.7404 MB / 482.5 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1299, allocations: 21.94 kB / 482.5 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.13, allocations: 79.41 kB / 482.6 MB, free: 192 kB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.13, allocations: 0 / 482.6 MB, free: 192 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.1435, allocations: 3.869 MB / 486.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.1437, allocations: 203.1 kB / 486.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.93, allocations: 3.875 kB / 486.7 MB, free: 12.16 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches