Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_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.001638/0.001638, allocations: 114.1 kB / 17.28 MB, free: 6.219 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.002164/0.002164, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.553/1.553, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.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.001275/0.001276, allocations: 51.94 kB / 280.3 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09861, allocations: 46.62 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.0049/0.1036, allocations: 2.75 MB / 329.6 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1058, allocations: 1.173 MB / 330.8 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1062, allocations: 15.94 kB / 330.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.1078, allocations: 0.5683 MB / 331.4 MB, free: 152 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.1083, allocations: 115.3 kB / 331.5 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1097, allocations: 0.6461 MB / 332.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.1102, allocations: 294.6 kB / 332.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.1107, allocations: 295.1 kB / 332.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1109, allocations: 131.5 kB / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1111, allocations: 167.3 kB / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1111, allocations: 28 kB / 333 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.1114, allocations: 179.8 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1115, allocations: 59.77 kB / 333.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.1116, allocations: 147.3 kB / 333.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.1122, allocations: 498.4 kB / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1122, allocations: 0 / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1122, allocations: 4 kB / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1122, allocations: 0 / 333.9 MB, free: 13.62 MB / 286.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.001553/0.1138, allocations: 0.7216 MB / 334.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1138, allocations: 12.03 kB / 334.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.839e-05/0.1139, allocations: 66.72 kB / 334.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.1147, allocations: 124.4 kB / 334.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.115, allocations: 256.5 kB / 335.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.1151, allocations: 32.97 kB / 335.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.1151, allocations: 36.12 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.1157, allocations: 329.1 kB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1157, allocations: 4 kB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1157, allocations: 8 kB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1158, allocations: 8 kB / 335.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.1162, allocations: 250.5 kB / 335.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.1181, allocations: 1.436 MB / 337.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.1188, allocations: 0.7121 MB / 337.9 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.119, allocations: 100.8 kB / 338 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1191, allocations: 85.11 kB / 338.1 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1191, allocations: 38.55 kB / 338.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.1191, allocations: 0 / 338.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001191/0.1203, allocations: 499.3 kB / 338.6 MB, free: 8.512 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1204, allocations: 55.41 kB / 338.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1206, allocations: 171.3 kB / 338.8 MB, free: 8.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1206, allocations: 29.7 kB / 338.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1207, allocations: 175.9 kB / 339 MB, free: 8.051 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.1208, allocations: 78.84 kB / 339.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1209, allocations: 61.89 kB / 339.2 MB, free: 7.906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1211, allocations: 330.8 kB / 339.5 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1212, allocations: 60.55 kB / 339.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.1214, allocations: 128.2 kB / 339.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.1217, allocations: 228.9 kB / 339.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1217, allocations: 0 / 339.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005965/0.1223, allocations: 335.5 kB / 340.2 MB, free: 6.785 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.1223, allocations: 7.125 kB / 340.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1224, allocations: 0 / 340.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.1227, allocations: 77.03 kB / 340.3 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1229, allocations: 47.91 kB / 340.3 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.1254, allocations: 2.041 MB / 342.4 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1256, allocations: 27.69 kB / 342.4 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.1256, allocations: 8 kB / 342.4 MB, free: 4.441 MB / 286.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.0002241/0.1259, allocations: 141.8 kB / 342.6 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.126, allocations: 23.75 kB / 342.6 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.1266, allocations: 288.8 kB / 342.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1266, allocations: 4 kB / 342.9 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1266, allocations: 3.984 kB / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1266, allocations: 0 / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.1279, allocations: 0.6979 MB / 343.6 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.1279, allocations: 0 / 343.6 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.1281, allocations: 27.94 kB / 343.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.1284, allocations: 76.73 kB / 343.7 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.1284, allocations: 8 kB / 343.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.1308, allocations: 2.026 MB / 345.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1308, allocations: 4.031 kB / 345.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.1315, allocations: 451.8 kB / 346.1 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1316, allocations: 112.8 kB / 346.3 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1317, allocations: 11.98 kB / 346.3 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1318, allocations: 4 kB / 346.3 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1319, allocations: 23.97 kB / 346.3 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1319, allocations: 4 kB / 346.3 MB, free: 308 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.132, allocations: 131.2 kB / 346.4 MB, free: 176 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.132, allocations: 0 / 346.4 MB, free: 176 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005554/0.1326, allocations: 91.84 kB / 346.5 MB, free: 84 kB / 286.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.001328/0.1339, allocations: 0.9905 MB / 347.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009773/0.1349, allocations: 366.7 kB / 347.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1349, allocations: 0 / 347.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.1353, allocations: 250.5 kB / 348.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.1358, allocations: 15.94 kB / 348.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.1401, allocations: 2.613 MB / 350.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.1407, allocations: 0.7558 MB / 351.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.1408, allocations: 17.95 kB / 351.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.141, allocations: 75.36 kB / 351.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.141, allocations: 0 / 351.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.1687, allocations: 4.809 MB / 356.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/0.1691, allocations: 251.8 kB / 356.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.155, allocations: 7.938 kB / 356.6 MB, free: 5.715 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches