Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.001096/0.001096, allocations: 114.4 kB / 16.63 MB, free: 6.809 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.001233/0.001233, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.398/1.398, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 42.52 kB / 300.2 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09583, allocations: 49.45 MB / 349.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.005494/0.1014, allocations: 2.861 MB / 352.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1039, allocations: 1.129 MB / 353.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.1042, allocations: 15.88 kB / 353.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.1061, allocations: 0.5815 MB / 354.3 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007313/0.1069, allocations: 115.3 kB / 354.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.1086, allocations: 0.6419 MB / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.1091, allocations: 294.7 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.1098, allocations: 299.1 kB / 355.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.1101, allocations: 127.5 kB / 355.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1104, allocations: 171.4 kB / 355.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.1104, allocations: 24 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.111, allocations: 183.8 kB / 356.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.1111, allocations: 63.77 kB / 356.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1113, allocations: 147.3 kB / 356.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.1121, allocations: 0.4906 MB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1121, allocations: 4 kB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1121, allocations: 0 / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1121, allocations: 0 / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001976/0.1141, allocations: 0.7255 MB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.1142, allocations: 8.031 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.469e-05/0.1143, allocations: 70.72 kB / 357.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.1151, allocations: 116.4 kB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1155, allocations: 268 kB / 358 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1155, allocations: 25.03 kB / 358 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.1156, allocations: 32.12 kB / 358 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.1162, allocations: 341 kB / 358.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1162, allocations: 0 / 358.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.1163, allocations: 12 kB / 358.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1163, allocations: 8 kB / 358.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.1167, allocations: 242.5 kB / 358.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.119, allocations: 1.447 MB / 360.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.1198, allocations: 0.7031 MB / 360.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.12, allocations: 108.8 kB / 360.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.1201, allocations: 85.09 kB / 361 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1202, allocations: 38.5 kB / 361 MB, free: 8.887 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 3.346e-06/0.1202, allocations: 0 / 361 MB, free: 8.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001432/0.1216, allocations: 497 kB / 361.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1217, allocations: 51.41 kB / 361.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1219, allocations: 175.2 kB / 361.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.122, allocations: 33.7 kB / 361.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1221, allocations: 172 kB / 361.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/0.1222, allocations: 86.75 kB / 362 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.1223, allocations: 53.98 kB / 362.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1225, allocations: 330.8 kB / 362.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1226, allocations: 72.47 kB / 362.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1228, allocations: 125 kB / 362.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.123, allocations: 216 kB / 362.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1231, allocations: 0 / 362.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006288/0.1237, allocations: 332.5 kB / 363.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1237, allocations: 8 kB / 363.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1237, allocations: 0 / 363.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.1241, allocations: 80.95 kB / 363.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1243, allocations: 47.92 kB / 363.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.1267, allocations: 2.029 MB / 365.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1269, allocations: 27.69 kB / 365.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.127, allocations: 16 kB / 365.3 MB, free: 4.305 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.1272, allocations: 141.8 kB / 365.5 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.1273, allocations: 19.75 kB / 365.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.1279, allocations: 299.6 kB / 365.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1279, allocations: 0 / 365.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1279, allocations: 4 kB / 365.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1279, allocations: 0 / 365.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.1291, allocations: 0.69 MB / 366.5 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1291, allocations: 0 / 366.5 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.1293, allocations: 23.98 kB / 366.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.1295, allocations: 68.81 kB / 366.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1296, allocations: 12 kB / 366.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.1316, allocations: 2.03 MB / 368.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1317, allocations: 0 / 368.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.1323, allocations: 455.7 kB / 369 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1325, allocations: 108.9 kB / 369.1 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1325, allocations: 8 kB / 369.2 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1326, allocations: 4 kB / 369.2 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1327, allocations: 19.97 kB / 369.2 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1327, allocations: 4 kB / 369.2 MB, free: 192 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1329, allocations: 139.5 kB / 369.3 MB, free: 52 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1329, allocations: 0 / 369.3 MB, free: 52 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1756/0.3084, allocations: 85.66 kB / 369.4 MB, free: 25.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.3097, allocations: 0.9926 MB / 370.4 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.3104, allocations: 365.3 kB / 370.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3104, allocations: 0 / 370.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.3108, allocations: 250.5 kB / 371 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.3112, allocations: 24.33 kB / 371 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.3141, allocations: 2.624 MB / 373.6 MB, free: 22.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3144, allocations: 0.7581 MB / 374.4 MB, free: 22.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3145, allocations: 22.75 kB / 374.4 MB, free: 22.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.3146, allocations: 72.89 kB / 374.5 MB, free: 22.19 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3146, allocations: 0 / 374.5 MB, free: 22.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.3359, allocations: 4.877 MB / 379.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.3362, allocations: 257.7 kB / 379.6 MB, free: 21.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.332, allocations: 0 / 379.6 MB, free: 21.48 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches