Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001416/0.001416, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001579/0.001579, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.001636/0.001636, allocations: 56.02 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09962, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.205/0.3046, allocations: 5.276 MB / 431.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.3079, allocations: 1.751 MB / 433.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.3085, allocations: 16.53 kB / 433.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.3115, allocations: 1.417 MB / 434.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3125, allocations: 326 kB / 435.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3139, allocations: 0.6487 MB / 435.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.3153, allocations: 0.8058 MB / 436.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.3163, allocations: 0.5851 MB / 437.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.317, allocations: 365.4 kB / 437.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.3177, allocations: 462.7 kB / 437.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3178, allocations: 77.09 kB / 438 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.3186, allocations: 269.2 kB / 438.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3188, allocations: 179.3 kB / 438.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3192, allocations: 423.1 kB / 438.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.3212, allocations: 1.203 MB / 440.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3212, allocations: 1.469 kB / 440.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3212, allocations: 0 / 440.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.3213, allocations: 3.938 kB / 440.1 MB, free: 5.461 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004799/0.3261, allocations: 1.471 MB / 441.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3261, allocations: 10.16 kB / 441.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.3263, allocations: 147.6 kB / 441.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.3281, allocations: 243 kB / 441.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.3284, allocations: 262 kB / 442.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.3285, allocations: 78.03 kB / 442.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.3288, allocations: 100.5 kB / 442.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.3307, allocations: 0.9459 MB / 443.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.3308, allocations: 7.344 kB / 443.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.3309, allocations: 39.91 kB / 443.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.3309, allocations: 24.41 kB / 443.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.3324, allocations: 0.7858 MB / 444.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/0.3384, allocations: 3.623 MB / 447.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3405, allocations: 1.181 MB / 449 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.341, allocations: 324.4 kB / 449.3 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.3412, allocations: 191.7 kB / 449.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.3413, allocations: 55.31 kB / 449.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.795e-06/0.3413, allocations: 0 / 449.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002788/0.3441, allocations: 1.305 MB / 450.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3441, allocations: 87.5 kB / 450.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.3448, allocations: 370.6 kB / 451.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/0.3449, allocations: 40.77 kB / 451.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.3453, allocations: 394.6 kB / 451.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.3456, allocations: 315.6 kB / 452 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.346, allocations: 178.1 kB / 452.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3462, allocations: 367.4 kB / 452.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.3467, allocations: 266.7 kB / 452.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/0.3475, allocations: 476.8 kB / 453.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.3489, allocations: 0.7693 MB / 454.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.3489, allocations: 1.969 kB / 454.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002183/0.3511, allocations: 0.9845 MB / 455 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.3511, allocations: 6.688 kB / 455 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.3511, allocations: 6.703 kB / 455.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.3516, allocations: 126.8 kB / 455.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.3525, allocations: 209.5 kB / 455.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.3586, allocations: 6.12 MB / 461.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009487/0.3596, allocations: 101.9 kB / 461.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.3598, allocations: 40.66 kB / 461.6 MB, free: 6.047 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.0006476/0.3604, allocations: 232.7 kB / 461.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.3607, allocations: 57.03 kB / 461.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3626, allocations: 0.8414 MB / 462.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3626, allocations: 13.97 kB / 462.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.3627, allocations: 5.469 kB / 462.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3627, allocations: 8.766 kB / 462.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.3668, allocations: 2.096 MB / 464.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.3668, allocations: 3.188 kB / 464.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.3675, allocations: 136.5 kB / 465 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.3679, allocations: 107.7 kB / 465.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.3679, allocations: 22.89 kB / 465.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/0.373, allocations: 5.719 MB / 470.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.373, allocations: 2.469 kB / 470.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.3754, allocations: 1.279 MB / 472.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.3757, allocations: 148 kB / 472.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.3759, allocations: 21.59 kB / 472.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.3764, allocations: 28.17 kB / 472.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.3765, allocations: 66.5 kB / 472.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.3766, allocations: 31.92 kB / 472.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.377, allocations: 249 kB / 472.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.377, allocations: 0 / 472.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001226/0.3782, allocations: 265.3 kB / 472.9 MB, free: 12.8 MB / 382.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.002659/0.3809, allocations: 1.89 MB / 474.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.383, allocations: 1.135 MB / 476 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.383, allocations: 0 / 476 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3841, allocations: 0.7686 MB / 476.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.3849, allocations: 61.17 kB / 476.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/0.3949, allocations: 5.679 MB / 482.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.3957, allocations: 0.9097 MB / 483.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005064/0.3962, allocations: 107.5 kB / 483.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.3967, allocations: 247.3 kB / 483.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3967, allocations: 0 / 483.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/0.4573, allocations: 13.07 MB / 496.8 MB, free: 8.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.49, allocations: 4.062 kB / 496.8 MB, free: 8.188 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.865515236044303]