Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.482/1.482, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 56.34 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.254, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00569/0.2597, allocations: 5.253 MB / 401.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.2625, allocations: 1.745 MB / 403.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.2628, allocations: 16.09 kB / 403.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.2656, allocations: 1.424 MB / 404.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008137/0.2665, allocations: 319.3 kB / 405.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2677, allocations: 0.6493 MB / 405.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.2685, allocations: 0.8164 MB / 406.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000898/0.2694, allocations: 0.6745 MB / 407.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.2698, allocations: 361.9 kB / 407.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.2703, allocations: 463.8 kB / 408.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.2704, allocations: 74.94 kB / 408.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.2709, allocations: 264.8 kB / 408.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.271, allocations: 177.8 kB / 408.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.2714, allocations: 426.5 kB / 409 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.2727, allocations: 1.184 MB / 410.2 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2727, allocations: 2.484 kB / 410.2 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2727, allocations: 0 / 410.2 MB, free: 368 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.2727, allocations: 0 / 410.2 MB, free: 368 kB / 318.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.00413/0.2769, allocations: 1.39 MB / 411.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.2769, allocations: 13.42 kB / 411.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.2771, allocations: 151.6 kB / 411.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.2788, allocations: 257.9 kB / 412 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.2791, allocations: 204.9 kB / 412.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.2791, allocations: 73.38 kB / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.2793, allocations: 105.1 kB / 412.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.2809, allocations: 0.9396 MB / 413.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.2809, allocations: 4.969 kB / 413.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/0.281, allocations: 40.66 kB / 413.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.2811, allocations: 23.06 kB / 413.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.2824, allocations: 0.779 MB / 414.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/0.2879, allocations: 3.051 MB / 417.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2898, allocations: 0.8799 MB / 418.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.2904, allocations: 322.7 kB / 418.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.69e-05/0.2905, allocations: 28.31 kB / 418.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.2905, allocations: 47.69 kB / 418.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.815e-06/0.2905, allocations: 4 kB / 418.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002186/0.2927, allocations: 0.9926 MB / 419.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.2928, allocations: 90.92 kB / 419.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.2933, allocations: 367.5 kB / 419.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.2933, allocations: 41.83 kB / 419.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.2937, allocations: 394.6 kB / 420.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.2939, allocations: 309.1 kB / 420.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.2942, allocations: 179.3 kB / 420.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2944, allocations: 365.7 kB / 421.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.2949, allocations: 262.7 kB / 421.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.2955, allocations: 477.8 kB / 421.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2967, allocations: 0.7728 MB / 422.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2967, allocations: 1.531 kB / 422.7 MB, free: 7.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001706/0.2984, allocations: 0.9724 MB / 423.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.2984, allocations: 7.531 kB / 423.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2984, allocations: 6.188 kB / 423.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.2989, allocations: 127.1 kB / 423.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.2997, allocations: 207.1 kB / 424 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/0.3046, allocations: 5.704 MB / 429.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.3054, allocations: 111.3 kB / 429.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.3054, allocations: 40 kB / 429.8 MB, free: 0.9375 MB / 334.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.0004035/0.3058, allocations: 229.5 kB / 430 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3059, allocations: 59.62 kB / 430.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3075, allocations: 0.8442 MB / 430.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3075, allocations: 12 kB / 431 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3075, allocations: 7.938 kB / 431 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3075, allocations: 3.984 kB / 431 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.3105, allocations: 1.74 MB / 432.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3105, allocations: 4 kB / 432.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.311, allocations: 135.8 kB / 432.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/0.3114, allocations: 119.5 kB / 433 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.3114, allocations: 23.98 kB / 433 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.3158, allocations: 5.296 MB / 438.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.3158, allocations: 3.938 kB / 438.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3178, allocations: 1.269 MB / 439.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.318, allocations: 67.47 kB / 439.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.318, allocations: 24 kB / 439.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.3184, allocations: 20 kB / 439.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3185, allocations: 68.47 kB / 439.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.3186, allocations: 28 kB / 439.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.3189, allocations: 251.2 kB / 440 MB, free: 6.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3189, allocations: 0 / 440 MB, free: 6.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001023/0.3199, allocations: 263.6 kB / 440.3 MB, free: 5.848 MB / 350.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.002457/0.3224, allocations: 1.856 MB / 442.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.3243, allocations: 1.134 MB / 443.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3243, allocations: 448 / 443.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000943/0.3252, allocations: 0.76 MB / 444 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.3258, allocations: 65.36 kB / 444.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008567/0.3344, allocations: 5.7 MB / 449.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.335, allocations: 0.9227 MB / 450.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000455/0.3355, allocations: 105.1 kB / 450.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.3358, allocations: 243.4 kB / 451 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 1.904e-06/0.3358, allocations: 0 / 451 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09466/0.4305, allocations: 13.58 MB / 464.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.32, allocations: 11.8 kB / 464.6 MB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_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/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.807425264036283]