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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 115.9 kB / 18.45 MB, free: 4.586 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.001316/0.001316, allocations: 190.9 kB / 21.39 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.001726/0.001726, allocations: 47.92 kB / 342.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.0893, allocations: 49.13 MB / 391.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004157/0.09345, allocations: 2.718 MB / 394.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.09551, allocations: 1.196 MB / 395.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.09566, allocations: 8 kB / 395.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.09724, allocations: 0.6263 MB / 395.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.09765, allocations: 135 kB / 396.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.09905, allocations: 0.6847 MB / 396.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.09951, allocations: 294.6 kB / 397 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.09993, allocations: 211.1 kB / 397.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1001, allocations: 123.6 kB / 397.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1004, allocations: 171.4 kB / 397.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.1004, allocations: 24 kB / 397.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1008, allocations: 175.8 kB / 397.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1008, allocations: 67.7 kB / 397.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.101, allocations: 151.3 kB / 397.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.1017, allocations: 494.2 kB / 398.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1017, allocations: 0 / 398.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1017, allocations: 3.938 kB / 398.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1017, allocations: 0 / 398.4 MB, free: 1.699 MB / 318.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.001697/0.1034, allocations: 0.7365 MB / 399.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.1035, allocations: 8.031 kB / 399.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/0.1035, allocations: 74.66 kB / 399.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.1043, allocations: 116.7 kB / 399.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1048, allocations: 272.5 kB / 399.6 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1048, allocations: 33.02 kB / 399.7 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.1049, allocations: 32.12 kB / 399.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1055, allocations: 333.1 kB / 400 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1055, allocations: 0 / 400 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.1055, allocations: 12.08 kB / 400 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1055, allocations: 8 kB / 400 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.106, allocations: 246.5 kB / 400.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.1082, allocations: 1.436 MB / 401.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.1089, allocations: 0.6848 MB / 402.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1091, allocations: 92.77 kB / 402.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.1092, allocations: 85.11 kB / 402.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1092, allocations: 34.56 kB / 402.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.1092, allocations: 0 / 402.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001267/0.1105, allocations: 491.3 kB / 403.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1105, allocations: 63.39 kB / 403.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1107, allocations: 176.2 kB / 403.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1107, allocations: 29.7 kB / 403.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1109, allocations: 180.4 kB / 403.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.111, allocations: 91.2 kB / 403.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.111, allocations: 49.98 kB / 403.7 MB, free: 12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1112, allocations: 326.8 kB / 404 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1113, allocations: 72.53 kB / 404 MB, free: 11.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1115, allocations: 128.2 kB / 404.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1118, allocations: 216.1 kB / 404.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1118, allocations: 0 / 404.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005911/0.1124, allocations: 332.7 kB / 404.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1124, allocations: 8 kB / 404.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1124, allocations: 0 / 404.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.1127, allocations: 76.75 kB / 404.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1129, allocations: 43.92 kB / 404.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.1151, allocations: 2.03 MB / 406.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1152, allocations: 31.78 kB / 406.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1152, allocations: 8 kB / 406.9 MB, free: 8.547 MB / 334.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.0001566/0.1154, allocations: 149.7 kB / 407 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.1154, allocations: 19.84 kB / 407.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.116, allocations: 288 kB / 407.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.116, allocations: 0 / 407.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.116, allocations: 4 kB / 407.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.116, allocations: 3.984 kB / 407.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.117, allocations: 0.6875 MB / 408 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.117, allocations: 0 / 408 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1172, allocations: 23.98 kB / 408.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.1174, allocations: 77.02 kB / 408.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.1174, allocations: 11.94 kB / 408.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.1196, allocations: 2.033 MB / 410.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1196, allocations: 0 / 410.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.1203, allocations: 448.5 kB / 410.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1204, allocations: 121.1 kB / 410.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1204, allocations: 0 / 410.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1205, allocations: 4 kB / 410.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1205, allocations: 23.97 kB / 410.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1206, allocations: 8 kB / 410.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1207, allocations: 127.5 kB / 410.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1207, allocations: 0 / 410.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.1212, allocations: 99.78 kB / 411 MB, free: 4.188 MB / 334.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.0011/0.1223, allocations: 1.002 MB / 412 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006297/0.1229, allocations: 334.4 kB / 412.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1229, allocations: 0 / 412.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.1232, allocations: 239.2 kB / 412.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1235, allocations: 19.94 kB / 412.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.1269, allocations: 2.508 MB / 415.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.1274, allocations: 0.7558 MB / 415.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.1275, allocations: 25.94 kB / 415.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1276, allocations: 75.41 kB / 415.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1276, allocations: 0 / 415.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.1723, allocations: 5.038 MB / 421 MB, free: 9.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.48, allocations: 0.625 kB / 421 MB, free: 9.934 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.358961701858789]