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.001344/0.001344, allocations: 116.9 kB / 18.41 MB, free: 4.512 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.001326/0.001326, allocations: 186.9 kB / 21.34 MB, free: 1.586 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.423/1.423, allocations: 222.9 MB / 247 MB, free: 4.191 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 47.92 kB / 358.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09695, allocations: 49.43 MB / 408.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006953/0.1039, allocations: 5.243 MB / 413.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.107, allocations: 1.685 MB / 415 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1073, allocations: 16 kB / 415 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.1104, allocations: 1.419 MB / 416.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.1111, allocations: 309.6 kB / 416.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1127, allocations: 0.8131 MB / 417.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009155/0.1137, allocations: 0.8129 MB / 418.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.1148, allocations: 0.7807 MB / 419.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.1153, allocations: 350.7 kB / 419.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.1158, allocations: 462.1 kB / 420 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.1159, allocations: 76 kB / 420 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.1165, allocations: 259.8 kB / 420.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1166, allocations: 179.3 kB / 420.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.1171, allocations: 421.9 kB / 420.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.1184, allocations: 1.198 MB / 422.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1185, allocations: 4 kB / 422.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1185, allocations: 4 kB / 422.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1185, allocations: 0 / 422.1 MB, free: 8.75 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.00397/0.1225, allocations: 1.465 MB / 423.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1225, allocations: 12.03 kB / 423.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.1242, allocations: 256.2 kB / 423.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1245, allocations: 260 kB / 424.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.1246, allocations: 70.38 kB / 424.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1247, allocations: 100.3 kB / 424.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1263, allocations: 0.9463 MB / 425.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.1264, allocations: 3.938 kB / 425.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.1265, allocations: 44 kB / 425.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.1265, allocations: 24 kB / 425.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.1279, allocations: 0.7815 MB / 426 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/0.1331, allocations: 3.362 MB / 429.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1715/0.3047, allocations: 1.245 MB / 430.6 MB, free: 21.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.3053, allocations: 372.5 kB / 431 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.3054, allocations: 103.1 kB / 431.1 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3054, allocations: 46 kB / 431.2 MB, free: 21.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.3054, allocations: 0 / 431.2 MB, free: 21.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.001862/0.3073, allocations: 1.31 MB / 432.5 MB, free: 21.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.3073, allocations: 85.7 kB / 432.5 MB, free: 21.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.3077, allocations: 371.2 kB / 432.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3077, allocations: 39.59 kB / 432.9 MB, free: 21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3079, allocations: 395.2 kB / 433.3 MB, free: 20.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.308, allocations: 315.3 kB / 433.6 MB, free: 20.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.3083, allocations: 173.7 kB / 433.8 MB, free: 20.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.3083, allocations: 363 kB / 434.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.3087, allocations: 263.9 kB / 434.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.3092, allocations: 477.8 kB / 434.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008685/0.3101, allocations: 0.7654 MB / 435.7 MB, free: 19.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3101, allocations: 3.562 kB / 435.7 MB, free: 19.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001652/0.3117, allocations: 0.9729 MB / 436.6 MB, free: 19.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3118, allocations: 11.92 kB / 436.6 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.3118, allocations: 5.438 kB / 436.6 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.3122, allocations: 129.6 kB / 436.8 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.313, allocations: 206.6 kB / 437 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.3159, allocations: 6.119 MB / 443.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.3165, allocations: 102.6 kB / 443.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.3166, allocations: 39.33 kB / 443.2 MB, free: 13.97 MB / 350.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.0002811/0.3168, allocations: 235.7 kB / 443.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.317, allocations: 57.53 kB / 443.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.3183, allocations: 0.8581 MB / 444.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3184, allocations: 7.219 kB / 444.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3184, allocations: 3.594 kB / 444.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3184, allocations: 3.984 kB / 444.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.3208, allocations: 1.924 MB / 446.3 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3208, allocations: 2.625 kB / 446.3 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.3214, allocations: 137.2 kB / 446.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.3217, allocations: 117.9 kB / 446.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.3217, allocations: 22.06 kB / 446.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.3241, allocations: 5.703 MB / 452.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3241, allocations: 6.406 kB / 452.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.3257, allocations: 1.285 MB / 453.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3258, allocations: 145 kB / 453.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.3259, allocations: 18.83 kB / 453.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.3263, allocations: 22.16 kB / 453.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3264, allocations: 62.23 kB / 453.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.3265, allocations: 27.7 kB / 453.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.3267, allocations: 259.8 kB / 454.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3267, allocations: 0 / 454.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.3277, allocations: 263.5 kB / 454.4 MB, free: 6.75 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.0002109/0.3279, allocations: 154.3 kB / 454.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3294, allocations: 1.173 MB / 455.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3294, allocations: 0 / 455.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.3301, allocations: 0.803 MB / 456.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.3306, allocations: 65.25 kB / 456.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3329, allocations: 1.444 MB / 458 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3333, allocations: 0.9106 MB / 458.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.3335, allocations: 62.42 kB / 459 MB, free: 3.734 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3335, allocations: 0 / 459 MB, free: 3.734 MB / 350.1 MB Notification: Performance of Templates: time 0.02306/0.3566, allocations: 21.03 MB / 480 MB, free: 6.625 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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: 8.422359207062982]