Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001781/0.001781, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001995/0.001995, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.428/1.428, allocations: 225.6 MB / 249.1 MB, free: 3.59 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.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 55.91 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09835, allocations: 52.13 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006807/0.1052, allocations: 5.28 MB / 423.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.108, allocations: 1.685 MB / 424.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.1082, allocations: 16 kB / 424.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.1113, allocations: 1.427 MB / 426.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.112, allocations: 313.6 kB / 426.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1136, allocations: 0.8097 MB / 427.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.1146, allocations: 0.8244 MB / 428.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.1155, allocations: 0.5895 MB / 428.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.1158, allocations: 346.7 kB / 429.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.1164, allocations: 474.1 kB / 429.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.906e-05/0.1165, allocations: 76 kB / 429.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.117, allocations: 255.8 kB / 429.9 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1171, allocations: 179.4 kB / 430 MB, free: 292 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.1175, allocations: 425.9 kB / 430.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.1188, allocations: 1.202 MB / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1188, allocations: 0 / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1188, allocations: 3.938 kB / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1188, allocations: 0 / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003883/0.1227, allocations: 1.458 MB / 433.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1228, allocations: 12.03 kB / 433.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.1229, allocations: 156.4 kB / 433.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.1246, allocations: 256.2 kB / 433.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1249, allocations: 263.9 kB / 433.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.1249, allocations: 74.38 kB / 433.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1251, allocations: 96.33 kB / 433.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1266, allocations: 0.9501 MB / 434.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.1267, allocations: 0 / 434.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.1267, allocations: 40 kB / 434.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.1268, allocations: 24 kB / 435 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.1282, allocations: 0.777 MB / 435.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005437/0.1336, allocations: 3.362 MB / 439.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.1356, allocations: 1.193 MB / 440.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.1361, allocations: 323.5 kB / 440.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1362, allocations: 102.1 kB / 440.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1363, allocations: 43.5 kB / 440.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/0.1363, allocations: 4 kB / 440.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002307/0.1386, allocations: 1.301 MB / 442.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.1387, allocations: 94.05 kB / 442.1 MB, free: 3.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.1391, allocations: 364.4 kB / 442.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.1392, allocations: 41.7 kB / 442.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.1394, allocations: 384.2 kB / 442.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.1397, allocations: 317.3 kB / 443.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.14, allocations: 174.9 kB / 443.4 MB, free: 2.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1402, allocations: 366.7 kB / 443.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.1407, allocations: 270.5 kB / 444 MB, free: 1.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.1413, allocations: 467.5 kB / 444.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.1425, allocations: 0.7745 MB / 445.2 MB, free: 348 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1425, allocations: 4 kB / 445.3 MB, free: 344 kB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.1677/0.3101, allocations: 0.9628 MB / 446.2 MB, free: 29.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3102, allocations: 8 kB / 446.2 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3102, allocations: 6.281 kB / 446.2 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.3105, allocations: 128.4 kB / 446.4 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.3112, allocations: 204.6 kB / 446.6 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.314, allocations: 6.115 MB / 452.7 MB, free: 23.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.3145, allocations: 105 kB / 452.8 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.3146, allocations: 42.02 kB / 452.8 MB, free: 23.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.3148, allocations: 230.3 kB / 453 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.3149, allocations: 57.47 kB / 453.1 MB, free: 23.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3161, allocations: 0.847 MB / 453.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3161, allocations: 11.91 kB / 454 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3161, allocations: 3.531 kB / 454 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3161, allocations: 4.406 kB / 454 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.3184, allocations: 1.922 MB / 455.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.3184, allocations: 5.781 kB / 455.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.3189, allocations: 135.8 kB / 456 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.3192, allocations: 110.6 kB / 456.1 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.3192, allocations: 22.88 kB / 456.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.3216, allocations: 5.711 MB / 461.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3216, allocations: 2.25 kB / 461.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.3233, allocations: 1.278 MB / 463.1 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3234, allocations: 147.1 kB / 463.3 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.3235, allocations: 21.66 kB / 463.3 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.3238, allocations: 21.42 kB / 463.3 MB, free: 16.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.324, allocations: 66.41 kB / 463.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.324, allocations: 24.33 kB / 463.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.3243, allocations: 259.8 kB / 463.7 MB, free: 16.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3243, allocations: 0 / 463.7 MB, free: 16.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008899/0.3252, allocations: 268.5 kB / 463.9 MB, free: 16.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.3269, allocations: 1.864 MB / 465.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3283, allocations: 1.127 MB / 466.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3283, allocations: 1.375 kB / 466.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.329, allocations: 0.7683 MB / 467.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.3295, allocations: 63.86 kB / 467.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.3361, allocations: 5.702 MB / 473.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3364, allocations: 0.9098 MB / 474.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.3369, allocations: 108.4 kB / 474.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.3371, allocations: 248.8 kB / 474.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3371, allocations: 0 / 474.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/0.3872, allocations: 12.93 MB / 487.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.46, allocations: 15.06 kB / 487.7 MB, free: 4.734 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 14.103591612074524]