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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 124.3 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 47.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09991, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004311/0.1042, allocations: 2.855 MB / 420.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1062, allocations: 1.168 MB / 421.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1063, allocations: 8 kB / 421.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.1078, allocations: 0.6029 MB / 422.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1081, allocations: 135 kB / 422.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1095, allocations: 0.6955 MB / 423.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.1099, allocations: 294.6 kB / 423.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.1103, allocations: 206.8 kB / 423.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1105, allocations: 135.5 kB / 423.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1107, allocations: 171.3 kB / 424 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.1108, allocations: 28 kB / 424.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.1111, allocations: 175.9 kB / 424.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.1112, allocations: 55.83 kB / 424.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1113, allocations: 155.2 kB / 424.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.112, allocations: 0.4904 MB / 424.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.112, allocations: 0 / 424.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.112, allocations: 0 / 424.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.112, allocations: 0 / 424.9 MB, free: 5.441 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001637/0.1136, allocations: 0.7326 MB / 425.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1137, allocations: 12.03 kB / 425.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.041e-05/0.1137, allocations: 70.72 kB / 425.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/0.1145, allocations: 120.6 kB / 425.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.115, allocations: 262.9 kB / 426.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.115, allocations: 25.03 kB / 426.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.115, allocations: 40.06 kB / 426.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.1156, allocations: 333 kB / 426.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1156, allocations: 3.953 kB / 426.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1157, allocations: 12 kB / 426.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1157, allocations: 8 kB / 426.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.1161, allocations: 242.5 kB / 426.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1181, allocations: 1.436 MB / 428.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.1188, allocations: 0.677 MB / 428.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1189, allocations: 100.7 kB / 429 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1191, allocations: 85.09 kB / 429.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1191, allocations: 38.56 kB / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.1191, allocations: 0 / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001201/0.1203, allocations: 484.5 kB / 429.6 MB, free: 388 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1203, allocations: 63.34 kB / 429.6 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1205, allocations: 183.9 kB / 429.8 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1205, allocations: 29.7 kB / 429.8 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1207, allocations: 180.4 kB / 430 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.1207, allocations: 87.27 kB / 430.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.1208, allocations: 53.94 kB / 430.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.121, allocations: 326.8 kB / 430.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1211, allocations: 68.53 kB / 430.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1213, allocations: 132.1 kB / 430.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.1216, allocations: 220.1 kB / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1216, allocations: 0 / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005654/0.1221, allocations: 332.7 kB / 431.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1222, allocations: 8 kB / 431.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1222, allocations: 0 / 431.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.1225, allocations: 72.8 kB / 431.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1226, allocations: 47.92 kB / 431.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.1248, allocations: 2.033 MB / 433.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1249, allocations: 27.78 kB / 433.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1249, allocations: 12 kB / 433.4 MB, free: 12.29 MB / 366.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.0001517/0.1251, allocations: 141.8 kB / 433.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.1251, allocations: 19.84 kB / 433.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/0.1257, allocations: 295.3 kB / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1257, allocations: 4 kB / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.1257, allocations: 0 / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1257, allocations: 0 / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.1267, allocations: 0.6865 MB / 434.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1267, allocations: 0 / 434.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1268, allocations: 23.98 kB / 434.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.127, allocations: 84.69 kB / 434.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1271, allocations: 4 kB / 434.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.1291, allocations: 2.026 MB / 436.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1291, allocations: 0 / 436.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.1298, allocations: 441.2 kB / 437.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1299, allocations: 113 kB / 437.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1299, allocations: 12.11 kB / 437.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.13, allocations: 4 kB / 437.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.1301, allocations: 19.92 kB / 437.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1301, allocations: 4 kB / 437.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1302, allocations: 127.2 kB / 437.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1302, allocations: 0 / 437.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1307, allocations: 103.8 kB / 437.5 MB, free: 7.949 MB / 366.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.001096/0.1318, allocations: 1.017 MB / 438.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.1324, allocations: 330.5 kB / 438.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1324, allocations: 0 / 438.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.1327, allocations: 242.9 kB / 439.1 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1331, allocations: 16 kB / 439.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.1364, allocations: 2.525 MB / 441.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.1369, allocations: 0.7599 MB / 442.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.137, allocations: 21.94 kB / 442.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1371, allocations: 75.59 kB / 442.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1371, allocations: 0 / 442.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.3518, allocations: 5.102 MB / 447.6 MB, free: 30.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.89, allocations: 11.86 kB / 447.6 MB, free: 30.43 MB / 366.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.30139852873981]